diff options
author | megamage <none@none> | 2009-05-15 13:57:10 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-15 13:57:10 -0500 |
commit | ff7f023ff1eb884213ca0efccf686c7387920952 (patch) | |
tree | 10bb1c87e9eda6ffd749100245c154f1fc8c7a28 /src/game/AggressorAI.cpp | |
parent | e826b482a59347d55274e183125062534d0f4efb (diff) | |
parent | bfaaa8201e6887fedd2145d668f40a484a609dac (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/AggressorAI.cpp')
-rw-r--r-- | src/game/AggressorAI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp index 22ebe87cdc6..556b24da9ad 100644 --- a/src/game/AggressorAI.cpp +++ b/src/game/AggressorAI.cpp @@ -71,6 +71,7 @@ void SpellAI::EnterCombat(Unit *who) else if(AISpellInfo[*i].condition == AICOND_COMBAT) events.ScheduleEvent(*i, AISpellInfo[*i].cooldown + rand()%AISpellInfo[*i].cooldown); } + i_creature.ResetDamageByPlayers(); } void SpellAI::UpdateAI(const uint32 diff) |