Core/Creatures: Remove stand state when a creature attacks or dies
Port From (https://github.com/TrinityCore/TrinityCore/commit/c05466fa0c2dc9b07528ed967d77bf0313fdafff)
This commit is contained in:
@@ -1551,6 +1551,7 @@ namespace Game.Entities
|
||||
SetHealth(0);
|
||||
SetPower(GetPowerType(), 0);
|
||||
SetEmoteState(Emote.OneshotNone);
|
||||
SetStandState(UnitStandStateType.Stand);
|
||||
|
||||
// players in instance don't have ZoneScript, but they have InstanceScript
|
||||
ZoneScript zoneScript = GetZoneScript() != null ? GetZoneScript() : GetInstanceScript();
|
||||
|
||||
Reference in New Issue
Block a user