This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
AdBlock Extension Detected!
Our website is made possible by displaying online advertisements to our members.
Please disable AdBlock browser extension first, to be able to use our community.
Question
+cs.tribal
hi there!
I'm tying to apply a java script in my l2jserver/epilogue server but i get an error!
What should i do to fix the error and make it work?
The java script:
Index: /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 345) +++ /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 346) @@ -8425,4 +8425,6 @@ public boolean addSubClass(int classId, int classIndex) { if (getTotalSubClasses() == 3 || classIndex == 0) return false; @@ -8430,4 +8432,8 @@ if (getSubClasses().containsKey(classIndex)) return false; + + startAbnormalEffect(L2Character.[color=red]ABNORMAL_EFFECT_HOLD_1[/color]); + setIsParalyzed(true); + sendMessage("You are paralized untill your subclass load."); // Note: Never change _classIndex in any method other than setActiveClass(). @@ -8492,4 +8498,8 @@ if (Config.DEBUG) _log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class."); + + setIsParalyzed(false); + stopAbnormalEffect(L2Character.[color=red]ABNORMAL_EFFECT_HOLD_1[/color]); + sendMessage("You are unparalized."); return true;The "ABNORMAL_EFFECT_HOLD_1" is the error!
please help!
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now