Git Product home page Git Product logo

Comments (2)

ZhengPeiRu21 avatar ZhengPeiRu21 commented on August 19, 2024 1

Hi ZhengPeiRu,

Thank you for your comment. It's great to know that others are finding the module and its resources useful. I've reached the same conclusion - even though the creature stats appear lower than in Vmangos, low level enemies do actually appear to be doing correct damage amounts (barring the AzerothCore bug itself you mentioned.)

As far as the module is concerned, I do think that disabled the creature class stats adjustments seems to be the right move - I've done so in c6e4560, so I think we can consider this issue resolved. I'll see what I can do about fixing the bug in AzerothCore itself.

Please reach out if you find anything else that needs to be changed or is missing as you work with the module. Thanks again!

from mod-individual-progression.

bughero999 avatar bughero999 commented on August 19, 2024

Hi ZhengPeiRu,

First of all a huge thank you for this module, in particular having all these vanilla reversions in one place is amazing and has saved me so much time and effort.

I've been looking into this bug, and I'm kind of an AC noob but I was able to experiment my way into a solution of sorts.

  1. You probably know this but the main bug is something to do with creature_class_stats.sql. If you run nothing but this you get the bug. If you run everything but this you don't get it. I don't know the exact reason but by removing this file I was able to get enemy damage roughly equal to Classic Era at low levels.

  2. There seems to be a bug with AzerothCore itself where very low level creatures have no variance in their damage, and will always do the lowest amount. So for example a level 1 Young Nightsaber in both Classic Era and Wrath Classic does 1-2, in AC it always does 1 with no variance. I think it has something to do with rounding when the numbers are too low to round correctly. I was able to fix this by making this change to AzerothCore, in C:/AzerothCore/src/server/game/Entities/Unit/StatSystem.cpp, the function Creature::CalculateMinMaxDamage, right below the line:

maxDamage = ... on line 1153

I added the line:

maxDamage = ceil(maxDamage);

and recompile, that makes it always round up and now I'm getting the exactly correct vanilla damage values on my local server. I'm not confident that this is 100% the correct fix but I think it's on the right track. Anyway I hope this info is of some help!

from mod-individual-progression.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.