Stop skill effects with RequestResetAbilityPoint.
This commit is contained in:
parent
891e4cc588
commit
0ea3ed60b9
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user