Jump to content
  • 0

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


Amellia sizilia sembiring

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

Hello

Anyone know to make effect if equip 1 and equip 2 is equiped?

like sandal combine with cotton

make bonus effect

ex. the effect bonus bMdef,20;

thx

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  221
  • Reputation:   12
  • Joined:  12/18/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

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...