KingJK Posted February 24, 2017 Share Posted February 24, 2017 Hi guys, i have problem in remove buffs on change sub class anyone have any idea what that is? CONFIG.JAVA public static boolean ALT_RESTORE_EFFECTS_ON_SUBCLASS_CHANGE; ALT_RESTORE_EFFECTS_ON_SUBCLASS_CHANGE = buffsy.getProperty("AltRestoreEffectOnSub", false); L2PCINSTANCE.JAVA if (Config.ALT_RESTORE_EFFECTS_ON_SUBCLASS_CHANGE) { restoreEffects(); } Link to comment Share on other sites More sharing options...
0 'Baggos' Posted February 26, 2017 Share Posted February 26, 2017 (edited) No remove buffs on change class :/ You should config(if you want it with config) the restoreEffects in method setActiveClass at L2PcInstance. Like: - restoreEffects(); + if (!Config.REMOVE_BUFFS_ON_SUBCLASS) + restoreEffects(); updateEffectIcons(); sendPacket(new EtcStatusUpdate(this)); Edited February 26, 2017 by 'Baggos' Link to comment Share on other sites More sharing options...
0 tazerman2 Posted February 25, 2017 Share Posted February 25, 2017 is restone buff from save skill list if you use true the buff is restone if you use false the subclass is like off without restone buffs Link to comment Share on other sites More sharing options...
0 KingJK Posted February 26, 2017 Author Share Posted February 26, 2017 is restone buff from save skill list if you use true the buff is restone if you use false the subclass is like off without restone buffs both as true or false, is not working, is there any code missing? Link to comment Share on other sites More sharing options...
0 'Baggos' Posted February 26, 2017 Share Posted February 26, 2017 You want to keep your buffs on subclass? Link to comment Share on other sites More sharing options...
0 KingJK Posted February 26, 2017 Author Share Posted February 26, 2017 You want to keep your buffs on subclass? No remove buffs on change class :/ Link to comment Share on other sites More sharing options...
0 KingJK Posted February 27, 2017 Author Share Posted February 27, 2017 You should config(if you want it with config) the restoreEffects in method setActiveClass at L2PcInstance. Like: - restoreEffects(); + if (!Config.REMOVE_BUFFS_ON_SUBCLASS) + restoreEffects(); updateEffectIcons(); sendPacket(new EtcStatusUpdate(this)); thx u! Link to comment Share on other sites More sharing options...
0 'Baggos' Posted February 27, 2017 Share Posted February 27, 2017 Np dude. Locked. Link to comment Share on other sites More sharing options...
Question
KingJK
Hi guys, i have problem in remove buffs on change sub class anyone have any idea what that is?
CONFIG.JAVA
public static boolean ALT_RESTORE_EFFECTS_ON_SUBCLASS_CHANGE;
ALT_RESTORE_EFFECTS_ON_SUBCLASS_CHANGE = buffsy.getProperty("AltRestoreEffectOnSub", false);
L2PCINSTANCE.JAVA
Link to comment
Share on other sites
7 answers to this question
Recommended Posts