*Fix the bug that gouge/scatter shot interrupt self.

*Fix the bug that spams setspeed errors.
*Clean up scripts to delete all lines which may cause crash by removing stealth aura.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2008-11-27 15:19:06 -06:00
1 parent 813b750b01
commit c72bf6e8c4
27 files changed
+66 -271

No files matched your search

+2 -2
View File
@@ -799,7 +799,7 @@ std::list<Creature*> ScriptedAI::DoFindFriendlyMissingBuff(float range, uint32 s
return pList;
}
void Scripted_NoMovementAI::MoveInLineOfSight(Unit *who)
/*void Scripted_NoMovementAI::MoveInLineOfSight(Unit *who)
{
if( !m_creature->getVictim() && m_creature->canAttack(who) && ( m_creature->IsHostileTo( who )) && who->isInAccessiblePlaceFor(m_creature) )
{
@@ -813,7 +813,7 @@ void Scripted_NoMovementAI::MoveInLineOfSight(Unit *who)
AttackStart(who);
}
}
}
}*/
void Scripted_NoMovementAI::AttackStart(Unit* who)
{