mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
fix(scripts/Ragnaros): Move root handling from DB to Core (#12245)
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
--
|
||||||
|
DELETE FROM `creature_template_movement` WHERE `CreatureId`=11502;
|
||||||
|
|
||||||
@@ -148,6 +148,7 @@ public:
|
|||||||
_hasSubmergedOnce = false;
|
_hasSubmergedOnce = false;
|
||||||
_isKnockbackEmoteAllowed = true;
|
_isKnockbackEmoteAllowed = true;
|
||||||
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||||
|
me->SetControlled(true, UNIT_STATE_ROOT);
|
||||||
_lavaBurstGUIDS.clear();
|
_lavaBurstGUIDS.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user