Remove all toggles when set player active class.

Thanks to Liamxroy.
This commit is contained in:
MobiusDevelopment
2022-10-16 21:42:04 +00:00
parent dbda42233c
commit 739e49bd8e
27 changed files with 75 additions and 3 deletions

View File

@@ -9844,6 +9844,9 @@ public class Player extends Playable
// stopAllEffects();
getEffectList().stopEffects(info -> !info.getSkill().isNecessaryToggle() && !info.getSkill().isIrreplacableBuff(), true, false);
// In controversy with isNecessaryToggle above, new class rewarded skills should be rewarded bellow.
getEffectList().stopAllToggles();
// Update abnormal visual effects.
sendPacket(new ExUserInfoAbnormalVisualEffect(this));
stopCubics();