EffectScope end should be applied when ending effect.

This commit is contained in:
MobiusDev
2017-09-27 11:55:49 +00:00
parent 9e6e82de73
commit 0b4aa688a8
4 changed files with 4 additions and 16 deletions

View File

@@ -702,12 +702,9 @@ public final class CharEffectList
// Decrease specific buff count
increaseDecreaseCount(info, false);
if (!removed)
{
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
}
}
}
private void removePassive(BuffInfo info, boolean removed)
{

View File

@@ -702,12 +702,9 @@ public final class CharEffectList
// Decrease specific buff count
increaseDecreaseCount(info, false);
if (!removed)
{
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
}
}
}
private void removePassive(BuffInfo info, boolean removed)
{

View File

@@ -702,12 +702,9 @@ public final class CharEffectList
// Decrease specific buff count
increaseDecreaseCount(info, false);
if (!removed)
{
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
}
}
}
private void removePassive(BuffInfo info, boolean removed)
{

View File

@@ -702,12 +702,9 @@ public final class CharEffectList
// Decrease specific buff count
increaseDecreaseCount(info, false);
if (!removed)
{
info.getSkill().applyEffectScope(EffectScope.END, info, true, false);
}
}
}
private void removePassive(BuffInfo info, boolean removed)
{