Cancel automatic casting on teleport.

Contributed by Horus.
This commit is contained in:
MobiusDevelopment 2021-08-13 21:18:04 +00:00
parent ead4655c1d
commit 757dc8f7f8
8 changed files with 96 additions and 0 deletions

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{

View File

@ -166,6 +166,12 @@ public class AutoUseTaskManager
break BUFFS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break BUFFS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{
@ -211,6 +217,12 @@ public class AutoUseTaskManager
break SKILLS;
}
// Player is teleporting.
if (player.isTeleporting())
{
break SKILLS;
}
final Skill skill = player.getKnownSkill(skillId.intValue());
if (skill == null)
{