Core/Units: Replace UNIT_DYNFLAG_DEAD with UNIT_FLAG3_FAKE_DEAD

Port From (https://github.com/TrinityCore/TrinityCore/commit/ed93a9706842ff5419279d4b2c473943e6ef2549)
This commit is contained in:
hondacrx
2022-07-16 19:35:19 -04:00
parent edb8765f3f
commit 8258d517cf
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1151,7 +1151,7 @@ namespace Scripts.Spells.Quest
void HandleApply(AuraEffect aurEff, AuraEffectHandleModes mode)
{
Unit target = GetTarget();
target.SetDynamicFlag(UnitDynFlags.Dead);
target.SetUnitFlag3(UnitFlags3.FakeDead);
target.SetUnitFlag2(UnitFlags2.FeignDeath);
Creature creature = target.ToCreature();