Check if autoplay bad skills target attackables.
This commit is contained in:
parent
77678ad746
commit
07cdb37060
@ -163,7 +163,7 @@ public class AutoUseTaskManager
|
||||
// Check bad skill target.
|
||||
if (skill.isBad())
|
||||
{
|
||||
if (target == null)
|
||||
if ((target == null) || !target.isAttackable())
|
||||
{
|
||||
continue SKILLS;
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ public class AutoUseTaskManager
|
||||
// Check bad skill target.
|
||||
if (skill.isBad())
|
||||
{
|
||||
if (target == null)
|
||||
if ((target == null) || !target.isAttackable())
|
||||
{
|
||||
continue SKILLS;
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ public class AutoUseTaskManager
|
||||
// Check bad skill target.
|
||||
if (skill.isBad())
|
||||
{
|
||||
if (target == null)
|
||||
if ((target == null) || !target.isAttackable())
|
||||
{
|
||||
continue SKILLS;
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ public class AutoUseTaskManager
|
||||
// Check bad skill target.
|
||||
if (skill.isBad())
|
||||
{
|
||||
if (target == null)
|
||||
if ((target == null) || !target.isAttackable())
|
||||
{
|
||||
continue SKILLS;
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ public class AutoUseTaskManager
|
||||
// Check bad skill target.
|
||||
if (skill.isBad())
|
||||
{
|
||||
if (target == null)
|
||||
if ((target == null) || !target.isAttackable())
|
||||
{
|
||||
continue SKILLS;
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ public class AutoUseTaskManager
|
||||
// Check bad skill target.
|
||||
if (skill.isBad())
|
||||
{
|
||||
if (target == null)
|
||||
if ((target == null) || !target.isAttackable())
|
||||
{
|
||||
continue SKILLS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user