Scripts/BoT: enslaved dragons will now cast their debuff again

This commit is contained in:
Ovahlord
2018-04-17 15:41:12 +02:00
parent 7156eca93b
commit 884e1e9c01
2 changed files with 4 additions and 5 deletions

View File

@@ -455,19 +455,19 @@ class npc_halfus_enslaved_dragon : public CreatureScript
switch (me->GetEntry())
{
case NPC_NETHER_SCION:
case NPC_NETHER_SCION_ENCOUNTER:
me->SetFacingToObject(halfus);
DoCastSelf(SPELL_NETHER_BLINDNESS, true);
break;
case NPC_SLATE_DRAGON:
case NPC_SLATE_DRAGON_ENCOUNTER:
me->SetFacingToObject(halfus);
DoCastSelf(SPELL_STONE_TOUCH, true);
break;
case NPC_STORM_RIDER:
case NPC_STORM_RIDER_ENCOUNTER:
me->SetFacingToObject(halfus);
DoCastSelf(SPELL_CYCLONE_WINDS, true);
break;
case NPC_TIME_WARDEN:
case NPC_TIME_WARDEN_ENCOUNTER:
me->SetFacingToObject(protoBehemoth);
DoCastSelf(SPELL_TIME_DILATION, true);
break;

View File

@@ -181,7 +181,6 @@ class instance_bastion_of_twilight : public InstanceMapScript
if (creature->GetEntry() != NPC_ORPHANED_EMERALD_WELP)
creature->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
}
}
}