Jump to content
  • 0
Sign in to follow this  
icegrave01

Custom Enchantment NPC problem

Question

4 answers to this question

Recommended Posts

  • 0

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 SVN

we 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

Share this post


Link to post
Share on other sites
  • 0

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

Edited by icegrave01

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.