Fixed switching between main and dual class not turning off autoskills.
Contributed by nasseka.
This commit is contained in:
parent
07db60b9f9
commit
bb648e3354
@ -9894,6 +9894,7 @@ public class PlayerInstance extends Playable
|
|||||||
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
||||||
for (Skill oldSkill : getAllSkills())
|
for (Skill oldSkill : getAllSkills())
|
||||||
{
|
{
|
||||||
|
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
|
||||||
removeSkill(oldSkill, false, true);
|
removeSkill(oldSkill, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9996,6 +9996,7 @@ public class PlayerInstance extends Playable
|
|||||||
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
||||||
for (Skill oldSkill : getAllSkills())
|
for (Skill oldSkill : getAllSkills())
|
||||||
{
|
{
|
||||||
|
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
|
||||||
removeSkill(oldSkill, false, true);
|
removeSkill(oldSkill, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10022,6 +10022,7 @@ public class PlayerInstance extends Playable
|
|||||||
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
||||||
for (Skill oldSkill : getAllSkills())
|
for (Skill oldSkill : getAllSkills())
|
||||||
{
|
{
|
||||||
|
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
|
||||||
removeSkill(oldSkill, false, true);
|
removeSkill(oldSkill, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9753,6 +9753,7 @@ public class PlayerInstance extends Playable
|
|||||||
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
||||||
for (Skill oldSkill : getAllSkills())
|
for (Skill oldSkill : getAllSkills())
|
||||||
{
|
{
|
||||||
|
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
|
||||||
removeSkill(oldSkill, false, true);
|
removeSkill(oldSkill, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9906,6 +9906,7 @@ public class PlayerInstance extends Playable
|
|||||||
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
||||||
for (Skill oldSkill : getAllSkills())
|
for (Skill oldSkill : getAllSkills())
|
||||||
{
|
{
|
||||||
|
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
|
||||||
removeSkill(oldSkill, false, true);
|
removeSkill(oldSkill, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9972,6 +9972,7 @@ public class PlayerInstance extends Playable
|
|||||||
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
// 9. Resend a class change animation effect to broadcast to all nearby players.
|
||||||
for (Skill oldSkill : getAllSkills())
|
for (Skill oldSkill : getAllSkills())
|
||||||
{
|
{
|
||||||
|
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
|
||||||
removeSkill(oldSkill, false, true);
|
removeSkill(oldSkill, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user