mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Merge pull request #8791 from AliveShiro/icehowl
Scripts/Trial of the Crusader: Fix Icehowl Script closes #8539
This commit is contained in:
@@ -1006,7 +1006,7 @@ class boss_icehowl : public CreatureScript
|
||||
events.ScheduleEvent(EVENT_WHIRL, urand(15*IN_MILLISECONDS, 30*IN_MILLISECONDS));
|
||||
return;
|
||||
case EVENT_MASSIVE_CRASH:
|
||||
me->GetMotionMaster()->MoveJump(ToCCommonLoc[1].GetPositionX(), ToCCommonLoc[1].GetPositionY(), ToCCommonLoc[1].GetPositionZ(), 20.0f, 20.0f); // 1: Middle of the room
|
||||
me->GetMotionMaster()->MoveJump(ToCCommonLoc[1].GetPositionX(), ToCCommonLoc[1].GetPositionY(), ToCCommonLoc[1].GetPositionZ(), 20.0f, 20.0f, 0); // 1: Middle of the room
|
||||
SetCombatMovement(false);
|
||||
me->AttackStop();
|
||||
_stage = 7; //Invalid (Do nothing more than move)
|
||||
@@ -1059,7 +1059,7 @@ class boss_icehowl : public CreatureScript
|
||||
_trampleTargetY = target->GetPositionY();
|
||||
_trampleTargetZ = target->GetPositionZ();
|
||||
// 2: Hop Backwards
|
||||
me->GetMotionMaster()->MoveJump(2*me->GetPositionX() - _trampleTargetX, 2*me->GetPositionY() - _trampleTargetY, me->GetPositionZ(), 30.0f, 20.0f);
|
||||
me->GetMotionMaster()->MoveJump(2*me->GetPositionX() - _trampleTargetX, 2*me->GetPositionY() - _trampleTargetY, me->GetPositionZ(), 30.0f, 20.0f, 0);
|
||||
_stage = 7; //Invalid (Do nothing more than move)
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user