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