Saisho Posted February 1, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 185 Reputation: 20 Joined: 01/06/13 Last Seen: November 11, 2018 Share Posted February 1, 2013 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. Quote Link to comment Share on other sites More sharing options...
Yahiko Posted February 28, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted February 28, 2013 try this if { (getequipname(3) == "youritem") bonus bStr,15; } 1 Quote Link to comment Share on other sites More sharing options...
Question
Saisho
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
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.