Check if autoplay bad skills target attackables.

This commit is contained in:
MobiusDevelopment 2021-05-05 18:19:06 +00:00
parent 77678ad746
commit 07cdb37060
6 changed files with 6 additions and 6 deletions

View File

@ -163,7 +163,7 @@ public class AutoUseTaskManager
// Check bad skill target.
if (skill.isBad())
{
if (target == null)
if ((target == null) || !target.isAttackable())
{
continue SKILLS;
}

View File

@ -163,7 +163,7 @@ public class AutoUseTaskManager
// Check bad skill target.
if (skill.isBad())
{
if (target == null)
if ((target == null) || !target.isAttackable())
{
continue SKILLS;
}

View File

@ -163,7 +163,7 @@ public class AutoUseTaskManager
// Check bad skill target.
if (skill.isBad())
{
if (target == null)
if ((target == null) || !target.isAttackable())
{
continue SKILLS;
}

View File

@ -163,7 +163,7 @@ public class AutoUseTaskManager
// Check bad skill target.
if (skill.isBad())
{
if (target == null)
if ((target == null) || !target.isAttackable())
{
continue SKILLS;
}

View File

@ -163,7 +163,7 @@ public class AutoUseTaskManager
// Check bad skill target.
if (skill.isBad())
{
if (target == null)
if ((target == null) || !target.isAttackable())
{
continue SKILLS;
}

View File

@ -163,7 +163,7 @@ public class AutoUseTaskManager
// Check bad skill target.
if (skill.isBad())
{
if (target == null)
if ((target == null) || !target.isAttackable())
{
continue SKILLS;
}