Stop skill effects with RequestResetAbilityPoint.
This commit is contained in:
@@ -97,6 +97,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -97,6 +97,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -97,6 +97,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
@@ -95,6 +95,8 @@ public class RequestResetAbilityPoint implements IClientIncomingPacket
|
|||||||
if (skill != null)
|
if (skill != null)
|
||||||
{
|
{
|
||||||
player.removeSkill(skill);
|
player.removeSkill(skill);
|
||||||
|
// TODO: Check if this needs to be moved to PlayerIstance removeSkill method.
|
||||||
|
player.getEffectList().stopSkillEffects(false, skill);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.setAbilityPointsUsed(0);
|
player.setAbilityPointsUsed(0);
|
||||||
|
Reference in New Issue
Block a user