diff options
author | 4m1g0 <casadelblanco@gmail.com> | 2012-05-19 15:09:23 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-05-19 15:11:09 +0100 |
commit | 524e30e57b4a743f1ebd964f06657487d437d0f4 (patch) | |
tree | 37c3d8028cd245aea6797bf05044c3deca7a7280 /src/server/scripts/EasternKingdoms/undercity.cpp | |
parent | 9474902479bf627874b66c41c8fcb138cfb85b48 (diff) |
Scripts/kalimdor: Use proper headers to optimize compile, code style and general cleanup.
Closes #6419 (pr)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/undercity.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/undercity.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/EasternKingdoms/undercity.cpp b/src/server/scripts/EasternKingdoms/undercity.cpp index d5896812007..a9b627ded34 100644 --- a/src/server/scripts/EasternKingdoms/undercity.cpp +++ b/src/server/scripts/EasternKingdoms/undercity.cpp @@ -184,7 +184,7 @@ public: { if (Unit* victim = me->getVictim()) { - DoCast(me->getVictim(), SPELL_BLACK_ARROW); + DoCast(victim, SPELL_BLACK_ARROW); BlackArrowTimer = 15000 + rand()%5000; } } else BlackArrowTimer -= diff; @@ -193,7 +193,7 @@ public: { if (Unit* victim = me->getVictim()) { - DoCast(me->getVictim(), SPELL_SHOT); + DoCast(victim, SPELL_SHOT); ShotTimer = 8000 + rand()%2000; } } else ShotTimer -= diff; @@ -202,7 +202,7 @@ public: { if (Unit* victim = me->getVictim()) { - DoCast(me->getVictim(), SPELL_MULTI_SHOT); + DoCast(victim, SPELL_MULTI_SHOT); MultiShotTimer = 10000 + rand()%3000; } } else MultiShotTimer -= diff; |