Jump to content
  • 0

One time bonus


Saisho

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

im kinda confused, can someone help me w/ this?

how do i add a bonus to an item only once even if the char wear 2 of same item?

taking as example Megingjard


{ if(Basejob==Job_Assassin||Basejob==Job_monk) { bonus bStr,15; bonus bMdef,7; } else { bonus bStr,25; bonus bMdef,7; }},{ },{ }

so instead str 30/50 and mdef 14 the bonus remain the same wearing 2 of it.

also how do i add a small bonus doing the same? 1 item gives 15 and 2 items give 20 instead 30.

i tried some ways but none worked or worked poorly.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   14
  • Joined:  08/17/12
  • Last Seen:  

try this 

 

if { (getequipname(3) == "youritem") bonus bStr,15; }

  • Upvote 1
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...