mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Scripts/Ulduar): cast electrical charge only if player dies (#3480)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user