i would like to make an enchant system where ,using blessed scrolls,when fail ,after the set safe enchant,the weapon/armor goes -2
and not 0.I searched and found a guide in forum but that did not work
item.setEnchantLevel(item.getEnchantLevel() - 2); tried this but did not work,in the file its this (item.setEnchantLevel(item.getEnchantLevel() + 1);)changed 1 with -2 when i use scroll i get max enchant 65535 and every time i enchant i get -2 eg.65533 and so on
Interlude x25 — Free D/C/B Gear for Newbies!
New adventurers joining the world of Lineage2Dex.com can now start strong with FREE D/C/B grade gear! Get ready to conquer the battlefield — faster leveling, smoother progress, and more fun from the start.
New numbers are available for GMAIL — category GMAIL 1.
There’s a large quantity, and this is just the beginning.
The higher the percentage of successful activations, the more numbers become available.
Why it matters: when users successfully receive codes from these numbers, we see that they work reliably and can add more to the system.
This means more choices for everyone and fewer problems when registering on services.
📲 Keep an eye on updates and pick the best options
🌐 Website: https://vibe-sms.net/
📱 Telegram channel: https://t.me/vibe_sms
Question
Legend™
i would like to make an enchant system where ,using blessed scrolls,when fail ,after the set safe enchant,the weapon/armor goes -2
and not 0.I searched and found a guide in forum but that did not work
item.setEnchantLevel(item.getEnchantLevel() - 2); tried this but did not work,in the file its this (item.setEnchantLevel(item.getEnchantLevel() + 1);)changed 1 with -2 when i use scroll i get max enchant 65535 and every time i enchant i get -2 eg.65533 and so on
any help will be apreciated
ps. im using H5
thanking you
//Edit; solved found it sry
locked
0 answers to this question
Recommended Posts