Scripts: Convert DoCast(me->GetVictim(), SPELL_XXXXX); in DoCastVictim(SPELL_XXX);

This commit is contained in:
Vincent-Michael committed 2013-06-22 16:53:13 +02:00
1 parent 154dd37743
commit e6185c92fc
209 files changed
+637 -637

No files matched your search

+2 -2
View File
@@ -131,7 +131,7 @@ public:
if (healing)
DoCast(me, info->Id);
else
DoCast(me->GetVictim(), info->Id);
DoCastVictim(info->Id);
//Set our global cooldown
globalCooldown = GENERIC_CREATURE_COOLDOWN;
@@ -174,7 +174,7 @@ public:
if (healing)
DoCast(me, info->Id);
else
DoCast(me->GetVictim(), info->Id);
DoCastVictim(info->Id);
//Set our global cooldown
globalCooldown = GENERIC_CREATURE_COOLDOWN;