Jump to content
  • 0
Amellia sizilia sembiring

[Help] What the script to function bonus effect equip 1 and equip 2?

Question

2 answers to this question

Recommended Posts

I don't know how to in equip1 and equip2, but for when one item is equiped..

In item_db or item_db2, at the end of every script will be three {}. If you want MDEF bonus when you equip the item, you place it in the second {}s, for example:

{},{ bonus bMdef,20; },{}

You can put the item bonus wherever you please inside those three {}s. The first pair is for the actual item bonus. The second is for when you equip the item, like it is here. And the third is for when you unequip the item.

Hope this helps!

Edited by Keim
Link to comment
Share on other sites

Replace "<equip1>" and "<equip2>" with the item id of the equipments.

{  if(isequipped(<equip1>,<equip2>)) { bonus bMdef,20; } },{},{}
Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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