[7801] Apply damage mods from scripts or target state not in DealDamage but in new...
commitc6475a139f21ff794008afb8c5d3a6ff6cbe19a1
authorVladimirMangos <vladimir@getmangos.com>
Fri, 8 May 2009 12:43:52 +0000 (8 16:43 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Fri, 8 May 2009 13:07:40 +0000 (8 17:07 +0400)
treeb11ee6a408fe26acd810619f4d236c0bfe630090
parent423b1d7f2ae79b793edc5505bd6225d8dcb337aa
[7801] Apply damage mods from scripts or target state not in DealDamage but in new function before send data to client.

* Fixed bug with health decrease (client side visual bug) at spell damage by target with AI::DamageTaken damage set to 0
* Fixed bug with ignore .die command and instant kill damage in some cases.
src/game/Level3.cpp
src/game/Player.cpp
src/game/Spell.cpp
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/game/Unit.cpp
src/game/Unit.h
src/shared/revision_nr.h