[DiscordArchive] is this
[DiscordArchive] is this
Archived author: Luka • Posted: 2019-06-04T13:49:58.806000+00:00
Original source
You could look at it for some examples on damage calculation, I'm not sure if what you wrote above will work due to the damage being re-calculated during runtime
Archived author: Luka • Posted: 2019-06-04T13:50:20.347000+00:00
Original source
And the min/max damage fields are floats so
`creature->SetFloatValue(UNIT_FIELD_MINDAMAGE, creature->GetFloatValue(UNIT_FIELD_MINDAMAGE) + mod_damage - 1.0f);`
Archived author: MR.MUSTACHE • Posted: 2019-06-04T13:50:37.399000+00:00
Original source
I use floats on all modifiers