http://www.dolserver.net/storm/tracker/?issue=15322
- Hiatus
Sadly for some reason, I cannot upload the patch file (I think it is a bug) so I have posted it below. [Already told Etaew about this might have only been me]
- Code: Select all
Index: DOLSharp/trunk/GameServer/ai/brain/Theurgist/TheurgistPetBrain.cs
===================================================================
--- DOLSharp/trunk/GameServer/ai/brain/Theurgist/TheurgistPetBrain.cs (revision 2879)
+++ DOLSharp/trunk/GameServer/ai/brain/Theurgist/TheurgistPetBrain.cs (working copy)
@@ -78,9 +78,11 @@
protected override void AttackMostWanted()
{
+
if (!IsActive || !m_active) return;
if (m_target == null) m_target = (GameLiving)Body.TempProperties.getProperty<object>("target", null);
if (m_target == null) return;
+ if (m_target.IsStealthed == true) { Body.StopMoving(); Body.MaxSpeedBase = 0; Body.StopAttack(); }
GameLiving target = m_target;
if (target != null && target.IsAlive)
{
@@ -91,6 +93,7 @@
}
else
{
+
m_target = null;
m_active = false;
Body.StopMoving();