EdenEternal Posted February 27, 2010 Posted February 27, 2010 how to set custom enchant failure? example i have +18 Arcana Mace. I Have Failure Enchant,but weapon set not to +0. it's set to +15 example2: i have +9 Draconic Bow. I Have Failure Enchant,But Weapon Set not to +0.it's set to +5 sorry for my english. i hope you understand what i want Quote
0 Matim Posted February 27, 2010 Posted February 27, 2010 I already told You what you have to do, so whats the point to starting another topic with same subject. Quote
0 Belzebul Posted February 27, 2010 Posted February 27, 2010 i wanted to do the same thing, Matim explained me and its not something difficult, do everything he said on the previous topic. Quote
0 EdenEternal Posted February 27, 2010 Author Posted February 27, 2010 he said Look at his request again. And now ontopic. lekino - take a look on this class: RequestEnchantItem.java look at this line: Quote synchronized (item) if enchant was failed bla bla bla: You can use this function item.setEnchantLevel(item.getEnchantLevel() - PUT YOUR VALUE HERE); and if i write this item.setEnchantLevel(item.getEnchantLevel() -15); and if i failure at +6 weapon will enchant to +15?! Quote
0 Belzebul Posted February 27, 2010 Posted February 27, 2010 as i see @ your request first you dont know maths, second put "4" Quote
0 EdenEternal Posted February 27, 2010 Author Posted February 27, 2010 i'm noob and please teach me how to do this: at +5 - +9 enchant failure set to +5 at +10 - +14 enchant failure set to +10 at +15 to +19 enchant failure set to +15? Quote
0 EdenEternal Posted February 27, 2010 Author Posted February 27, 2010 you can't help me i guess Quote
0 Matim Posted February 27, 2010 Posted February 27, 2010 Lol, we cant help you? We did. if you dont understand it, its not our problem, we gave you solution already. I will explain it ONCE AGAIN: item.setEnchantLevel(item.getEnchantLevel() -2); Add this method after enchant item failed, and: if you enchant is failed, it will get getEnchantLevel (so for example +10) and -2 ...so after failed enchant it should be +8 got it :-\? Quote
0 EdenEternal Posted February 27, 2010 Author Posted February 27, 2010 thanks now i have understand Quote
Question
EdenEternal
how to set custom enchant failure?
example i have +18 Arcana Mace. I Have Failure Enchant,but weapon set not to +0. it's set to +15
example2: i have +9 Draconic Bow. I Have Failure Enchant,But Weapon Set not to +0.it's set to +5
sorry for my english. i hope you understand what i want
10 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.