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()
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user