diff options
author | QAston <none@none> | 2009-05-17 18:00:33 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-05-17 18:00:33 +0200 |
commit | 7c6757d7ee652c8e688caa5c6856d116c1f034c1 (patch) | |
tree | bb60c8a2b02858f8feed89cb6accbca29643da97 /src/game/AggressorAI.cpp | |
parent | d2ef2c0500e86bc966b2d71bbd00acea0e924e41 (diff) |
*Update proc system.
--HG--
branch : trunk
Diffstat (limited to 'src/game/AggressorAI.cpp')
-rw-r--r-- | src/game/AggressorAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp index 22ebe87cdc6..218f19a1c21 100644 --- a/src/game/AggressorAI.cpp +++ b/src/game/AggressorAI.cpp @@ -67,7 +67,7 @@ void SpellAI::EnterCombat(Unit *who) for(SpellVct::iterator i = spells.begin(); i != spells.end(); ++i) { if(AISpellInfo[*i].condition == AICOND_AGGRO) - me->CastSpell(who, *i, true); + me->CastSpell(who, *i, false); else if(AISpellInfo[*i].condition == AICOND_COMBAT) events.ScheduleEvent(*i, AISpellInfo[*i].cooldown + rand()%AISpellInfo[*i].cooldown); } |