fix(Scripts/Ulduar): cast electrical charge only if player dies (#3480)
This commit is contained in:
parent
9f93e554e6
commit
32da0eeb9e
1 changed files with 3 additions and 3 deletions
|
|
@ -297,12 +297,12 @@ public:
|
|||
|
||||
void KilledUnit(Unit* who) override
|
||||
{
|
||||
if (_phase == 3)
|
||||
me->CastSpell(me, SPELL_ELECTRICAL_CHARGE, true);
|
||||
|
||||
if (who->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
if (_phase == 3)
|
||||
me->CastSpell(me, SPELL_ELECTRICAL_CHARGE, true);
|
||||
|
||||
Talk(SAY_STEELBREAKER_SLAY);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue