ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.58k stars 360 forks source link

Rework Battle::Unit::CalculateSpellDamage() method to use fheroes2::getSpellDamage() and fheroes2::getMonsterData() functions #8839

Open Cheerfulbull opened 2 weeks ago

Cheerfulbull commented 2 weeks ago

Battle::Unit::CalculateSpellDamage() now uses fheroes2::getSpellDamage() to calculate baseline damage and fheroes2::getMonsterData() to calculate Monster specific spell damage modifier. Relates to #8708

ihhub commented 2 weeks ago

Hi @Cheerfulbull , please check #8816.