Jump to content
  • 0

Bog Stackable


Question

Posted

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.

2 answers to this question

Recommended Posts

  • 0
Posted
                 if (Config.BOG_STACKABLE)
                     player.destroyItem("Consume", spb.getObjectId(), 1, trainer, true);
                     else
                     player.destroyItem("Consume", spb, trainer, true);

 

Guest
This topic is now closed to further replies.


×
×
  • Create New...