EffectScope end should be applied when ending effect.
This commit is contained in:
@@ -702,12 +702,9 @@ public final class CharEffectList
|
|||||||
// Decrease specific buff count
|
// Decrease specific buff count
|
||||||
increaseDecreaseCount(info, false);
|
increaseDecreaseCount(info, false);
|
||||||
|
|
||||||
if (!removed)
|
|
||||||
{
|
|
||||||
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void removePassive(BuffInfo info, boolean removed)
|
private void removePassive(BuffInfo info, boolean removed)
|
||||||
{
|
{
|
||||||
|
@@ -702,12 +702,9 @@ public final class CharEffectList
|
|||||||
// Decrease specific buff count
|
// Decrease specific buff count
|
||||||
increaseDecreaseCount(info, false);
|
increaseDecreaseCount(info, false);
|
||||||
|
|
||||||
if (!removed)
|
|
||||||
{
|
|
||||||
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void removePassive(BuffInfo info, boolean removed)
|
private void removePassive(BuffInfo info, boolean removed)
|
||||||
{
|
{
|
||||||
|
@@ -702,12 +702,9 @@ public final class CharEffectList
|
|||||||
// Decrease specific buff count
|
// Decrease specific buff count
|
||||||
increaseDecreaseCount(info, false);
|
increaseDecreaseCount(info, false);
|
||||||
|
|
||||||
if (!removed)
|
|
||||||
{
|
|
||||||
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void removePassive(BuffInfo info, boolean removed)
|
private void removePassive(BuffInfo info, boolean removed)
|
||||||
{
|
{
|
||||||
|
@@ -702,12 +702,9 @@ public final class CharEffectList
|
|||||||
// Decrease specific buff count
|
// Decrease specific buff count
|
||||||
increaseDecreaseCount(info, false);
|
increaseDecreaseCount(info, false);
|
||||||
|
|
||||||
if (!removed)
|
|
||||||
{
|
|
||||||
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void removePassive(BuffInfo info, boolean removed)
|
private void removePassive(BuffInfo info, boolean removed)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user