CrazyDeagle Posted August 31, 2011 Posted August 31, 2011 Hello every on i want know how can i make for make blessed scroll when you enchant the level no move. = when i enchant and this break no come back to 0 staid on the same enchant before enchant it. i have weapon +10 use blessed to make +11 when i enchant this break i dont want this come back to 0, i want this come back to +10. and for the crystal scroll, make it when i enchant and the enchant failed the weapon or armor or jewel make -1 on the enchant if my weapon is +10 and i enchant it, this failed, the enchant decrease to 9 thanks you if someone can said me how can i make it. Quote
0 vampir Posted August 31, 2011 Posted August 31, 2011 find: if (scrollTemplate.isBlessed()) { // blessed enchant - clear enchant value activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.BLESSED_ENCHANT_FAILED)); item.setEnchantLevel(0); item.updateDatabase(); delete item.setEnchantLevel(0); item.updateDatabase(); now crystal scrolls, u will need to make something like else if(scroll.isCrystal()) and in item.setEnchantLevel(0); make item.setEnchantLevel(getEnchantLevel-1); Quote
0 CrazyDeagle Posted September 1, 2011 Author Posted September 1, 2011 Ok thanks you very much i will try it Quote
Question
CrazyDeagle
Hello every on i want know how can i make for make
blessed scroll when you enchant the level no move. = when i enchant and this break no come back to 0 staid on the same enchant before enchant it.
i have weapon +10 use blessed to make +11 when i enchant this break i dont want this come back to 0, i want this come back to +10.
and for the crystal scroll, make it when i enchant and the enchant failed the weapon or armor or jewel make -1 on the enchant
if my weapon is +10 and i enchant it, this failed, the enchant decrease to 9
thanks you if someone can said me how can i make it.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.