mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[11732] Interrupt movement state at dying
TODO: proper solution would be update creatures while in corpse state. This also would solve problems with death persistent auras that not get updated for died creatures
This commit is contained in:
parent
0cbb8e311e
commit
a7fba67225
3 changed files with 3 additions and 2 deletions
|
|
@ -8362,6 +8362,7 @@ void Unit::SetDeathState(DeathState s)
|
|||
UnsummonAllTotems();
|
||||
|
||||
StopMoving();
|
||||
DisableSpline();
|
||||
|
||||
ModifyAuraState(AURA_STATE_HEALTHLESS_20_PERCENT, false);
|
||||
ModifyAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue