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
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
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