Stop skill effects with RequestResetAbilityPoint.

This commit is contained in:
MobiusDevelopment 2020-03-26 09:54:44 +00:00
parent 891e4cc588
commit 0ea3ed60b9
8 changed files with 16 additions and 0 deletions

View File

@ -97,6 +97,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -97,6 +97,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -97,6 +97,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);

View File

@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
if (skill != null)
{
player.removeSkill(skill);
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
player.getEffectList().stopSkillEffects(false, skill);
}
}
player.setAbilityPointsUsed(0);