Scripts/TotFW: fixed an edge case in which Rohash wouldn't cast his Storm Shield on heroic difficulty when his energy went above 30 between the checks

This commit is contained in:
Ovahlord
2021-02-20 23:47:35 +01:00
parent 7b0e15d149
commit 768704187c

View File

@@ -915,7 +915,7 @@ struct boss_rohash : public BossAI
events.Repeat(2s + 100ms);
break;
case EVENT_STORM_SHIELD:
if (me->GetPower(POWER_MANA) == 30)
if (me->GetPower(POWER_MANA) >= 30)
{
me->SendPlaySpellVisualKit(SPELL_VISUAL_STORM_SHIELD, 0, 0);
DoCastSelf(SPELL_STORM_SHIELD);