Scripts: Convert DoCast(me->GetVictim(), SPELL_XXXXX); in DoCastVictim(SPELL_XXX);
This commit is contained in:
1 parent
154dd37743
commit
e6185c92fc
209 files changed
+637
-637
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user