hi... im trying to insert this code to l2jserver last develop rev.
but the pcstat.java isnt the same. so, anyone can helpme to do this? thx in advance:
i test that command ingame and is working fine but i need the pcstat core side working.
Core:
+++ java/com/l2jserver/gameserver/model/actor/stat/PcStat.java (working copy){returnfalse;}++// Check, if exp gain isn't disabled by voiced command+if(activeChar.canOverrideCond(PcCondOverride.DISABLE_EXP_GAIN))+{+returnfalse;+}if(!super.addExp(value)){{returnfalse;}-++// Check, if exp gain isn't disabled by voiced command+if(activeChar.canOverrideCond(PcCondOverride.DISABLE_EXP_GAIN))+{+ addToExp =0;+}+long baseExp = addToExp;int baseSp = addToSp;
I don't understand what is happening. Whenever I try to attack another character with a non-GM character, this message is printed on the console. Does anyone know what's going on?
🚨 Only 2 Days Left Until Our Beta Launch! 🚨
The wait is almost over! In just two days, we'll be opening up our beta, and there's so much for you to explore and experience. We can't wait for you to dive in, test things out, and share your thoughts with us.
Your feedback will help shape the future, and we're excited to have you on this journey with us! 🌟
Question
Urbanhack
hi... im trying to insert this code to l2jserver last develop rev.
but the pcstat.java isnt the same. so, anyone can helpme to do this? thx in advance:
i test that command ingame and is working fine but i need the pcstat core side working.
Core:
Datapack Side:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts