Jump to content
  • 0

Bog Stackable


sotid

Question

About this Code https://pastebin.com/wRLDrW0G 

These lines are fine?

Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestExEnchantSkill.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestExEnchantSkill.java  (revision 938)
+++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestExEnchantSkill.java  (working copy)
@@ -135,7 +135,10 @@
                                                return;
                                        }
                                        // ok
-                                       player.destroyItem("Consume", spb, trainer, true);
+                                       if (Config.BOG_STACKABLE)
+                                               player.destroyItem("Consume", spbId, 1, trainer, true);
+                                       else
+                                               player.destroyItem("Consume", spb, trainer, true);
                                }
                        }
                        else

 

Cause everytime I enchant my skills I dont consume any bogs , ls work fine.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...