Custom Enchantment NPC problem

Thanks @@AnnieRuru!  but i want that script badly 
default_sad.png


 
that script uses custom items

if (.@class_type == 1) { set .@class_type$, "Swordman"; set .@rand_bonus, rand(25000,25017); } else if (.@class_type == 2) { set .@class_type$, "Mage"; set .@rand_bonus, rand(25018,25037); } else if (.@class_type == 3) { set .@class_type$, "Thief"; set .@rand_bonus, rand(25038,25058); } else if (.@class_type == 4) { set .@class_type$, "Archer"; set .@rand_bonus, rand(25059,25080); } else if (.@class_type == 5) { set .@class_type$, "Merchant"; set .@rand_bonus, rand(25081,25102); } else if (.@class_type == 6) { set .@class_type$, "Acolyte"; set .@rand_bonus, rand(25103,25126); }.... delitem 30000,1;all these item ID are not available in our current SVNwe only have those in the ID range 4700~4899

like I said, use mine, then request what you want

that script are too customized and unoptimized, I'm unable to improve that script

 
Ok i will try use your script. i want to add 2nd,3rd and 4 slot, it will ask the player what bonuses he/she want to add. 2nd slot = 50% chance , 3rd slot = 30% chance 4th slot = 10% chance. the item will not broke. it may fail to add bonuses. within id range only thanks @@AnnieRuru for helping me

 
Last edited by a moderator:
Back
Top