Previous change should check for all non attackables.
This commit is contained in:
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -599,8 +599,8 @@ public abstract class AbstractAI implements Ctrl
|
|||||||
*/
|
*/
|
||||||
public void clientStartAutoAttack()
|
public void clientStartAutoAttack()
|
||||||
{
|
{
|
||||||
// Non monster NPCs should not get in combat.
|
// Non attackable NPCs should not get in combat.
|
||||||
if (_actor.isNpc() && !_actor.isMonster())
|
if (_actor.isNpc() && !_actor.isAttackable())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user