mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(Core/RuinsOfAhnQiraj): Ossirian movement speed (#12706)
This commit is contained in:
@@ -61,7 +61,8 @@ enum Events
|
|||||||
{
|
{
|
||||||
EVENT_SILENCE = 1,
|
EVENT_SILENCE = 1,
|
||||||
EVENT_CYCLONE = 2,
|
EVENT_CYCLONE = 2,
|
||||||
EVENT_STOMP = 3
|
EVENT_STOMP = 3,
|
||||||
|
EVENT_SPEEDUP = 4
|
||||||
};
|
};
|
||||||
|
|
||||||
uint8 const NUM_CRYSTALS = 11;
|
uint8 const NUM_CRYSTALS = 11;
|
||||||
@@ -199,6 +200,8 @@ struct boss_ossirian : public BossAI
|
|||||||
{
|
{
|
||||||
BossAI::EnterCombat(who);
|
BossAI::EnterCombat(who);
|
||||||
events.Reset();
|
events.Reset();
|
||||||
|
me->SetSpeedRate(MOVE_RUN, 1.0f);
|
||||||
|
events.ScheduleEvent(EVENT_SPEEDUP, 10s);
|
||||||
events.ScheduleEvent(EVENT_SILENCE, 30s);
|
events.ScheduleEvent(EVENT_SILENCE, 30s);
|
||||||
events.ScheduleEvent(EVENT_CYCLONE, 20s);
|
events.ScheduleEvent(EVENT_CYCLONE, 20s);
|
||||||
events.ScheduleEvent(EVENT_STOMP, 30s);
|
events.ScheduleEvent(EVENT_STOMP, 30s);
|
||||||
@@ -296,6 +299,9 @@ struct boss_ossirian : public BossAI
|
|||||||
{
|
{
|
||||||
switch (eventId)
|
switch (eventId)
|
||||||
{
|
{
|
||||||
|
case EVENT_SPEEDUP:
|
||||||
|
me->SetSpeedRate(MOVE_RUN, 2.2f);
|
||||||
|
break;
|
||||||
case EVENT_SILENCE:
|
case EVENT_SILENCE:
|
||||||
DoCastAOE(SPELL_CURSE_OF_TONGUES);
|
DoCastAOE(SPELL_CURSE_OF_TONGUES);
|
||||||
events.ScheduleEvent(EVENT_SILENCE, 20s, 30s);
|
events.ScheduleEvent(EVENT_SILENCE, 20s, 30s);
|
||||||
|
|||||||
Reference in New Issue
Block a user