KingJK Posted February 24, 2017 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(); }
0 'Baggos' Posted February 26, 2017 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'
0 tazerman2 Posted February 25, 2017 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
0 KingJK Posted February 26, 2017 Author 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?
0 'Baggos' Posted February 26, 2017 Posted February 26, 2017 You want to keep your buffs on subclass?
0 KingJK Posted February 26, 2017 Author Posted February 26, 2017 You want to keep your buffs on subclass? No remove buffs on change class :/
0 KingJK Posted February 27, 2017 Author 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!
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
7 answers to this question
Recommended Posts