diff options
author | megamage <none@none> | 2009-05-17 16:40:40 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-17 16:40:40 -0500 |
commit | 1c134f81e38137bbfb1c6925a3a42d9628571d4c (patch) | |
tree | 479972a69d9badeffab98d51e8c19178afb99ec1 /src/game/AggressorAI.cpp | |
parent | b95e67375c00e7e24609450178c4f7ba44064441 (diff) | |
parent | 7c6757d7ee652c8e688caa5c6856d116c1f034c1 (diff) |
*Merge.
--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); } |