Skip to content

Commit

Permalink
Scripts/ICC
Browse files Browse the repository at this point in the history
* Ensure sindragosa takes another player as victim if the tank is entombed
* Val'kyr Herald Script
  • Loading branch information
Macavity committed Nov 10, 2011
1 parent 8379581 commit 8ba7e2c
Show file tree
Hide file tree
Showing 3 changed files with 704 additions and 1 deletion.
Expand Up @@ -434,6 +434,14 @@ class boss_sindragosa : public CreatureScript

void UpdateAI(uint32 const diff)
{

if(Unit* victim = me->getVictim()){
if(victim->HasAura(SPELL_ICE_TOMB_DAMAGE)){
if (Unit *newVictim = SelectTarget(SELECT_TARGET_RANDOM, 0, -5.0f))
AttackStart(newVictim);
}
}

if (!UpdateVictim() || !CheckInRoom())
return;

Expand Down

0 comments on commit 8ba7e2c

Please sign in to comment.