Saisho Posted February 1, 2013 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
Yahiko Posted February 28, 2013 Posted February 28, 2013 try this if { (getequipname(3) == "youritem") bonus bStr,15; } 1 Quote
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.
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.