diff options
| author | megamage <none@none> | 2009-01-30 01:14:48 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-30 01:14:48 -0600 |
| commit | 03234a0657eca4836b1015556973629893c76958 (patch) | |
| tree | 25d3d03ccb8361dbf5a9f6cba59b729d1c5ad22c /src/bindings/scripts/include | |
| parent | 8fe4fc3e4730ecbe203da9aecd5b2c497a774eb8 (diff) | |
*Fix some bugged AI which cause creatures enter evade mode repeatedly.
*Let player enter combat when attacked but not hit by creatures.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts/include')
| -rw-r--r-- | src/bindings/scripts/include/sc_creature.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bindings/scripts/include/sc_creature.cpp b/src/bindings/scripts/include/sc_creature.cpp index 82e7ab04ca9..c2ae15d9ab1 100644 --- a/src/bindings/scripts/include/sc_creature.cpp +++ b/src/bindings/scripts/include/sc_creature.cpp @@ -85,7 +85,6 @@ void ScriptedAI::AttackStart(Unit* who, bool melee) if (m_creature->Attack(who, melee)) { m_creature->AddThreat(who, 0.0f); - m_creature->SetInCombatWith(who); if (!InCombat) { @@ -108,7 +107,6 @@ void ScriptedAI::AttackStart(Unit* who) if (m_creature->Attack(who, true)) { m_creature->AddThreat(who, 0.0f); - m_creature->SetInCombatWith(who); if (!InCombat) { @@ -834,7 +832,6 @@ void Scripted_NoMovementAI::AttackStart(Unit* who) if (m_creature->Attack(who, true)) { m_creature->AddThreat(who, 0.0f); - m_creature->SetInCombatWith(who); if (!InCombat) { |
