Jump to content

[Share] Vip system java code

Recommended Posts

ndex: L2PcInstance.java
--- L2PcInstance.java   (revision 3765)
+++ L2PcInstance.java   (working copy)
@@ -2251,7 +2251,16 @@

             if (_log.isDebugEnabled() && skill != null) _log.debug("removed skill 'Lucky' from " + getName());
+                if(isCharViP())
+                {
+                    L2Skill vipskill = SkillTable.getInstance().getInfo(id, lvl);
+                    addSkill(vipskill); // not saved to DB
+                }
+                if (!isCharViP())
+            {
+                L2Skill vipskill = SkillTable.getInstance().getInfo(id, lvl);
+                removeSkill(vipskill);
+            }
         // Calculate the current higher Expertise of the L2PcInstance
         for (int i = 0; i < EXPERTISE_LEVELS.length; i++)

Link to comment
Share on other sites

Min ksexnas pote na dineis credits ... fss!!!


Credits to snacks , original post >> http://www.l2jfree.com/index.php?topic=4008.0



idika se tetia mikroperagmata 2 grames kodika ... prepi na exei de kai kala credis :)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))


gg bro very good share xD Downloaded...

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

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.

I've Disabled AdBlock