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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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