Bolby91 Posted May 12, 2020 Posted May 12, 2020 (edited) hi i want to know if my script is right? for Increase Acid Demonstraton by 1% per refine. bonus2 bSkillAtk,"CR_ACIDDEMONSTRATION",getrefine(); and i would like to know what would i change if i want it Increase 1% by 2 refines Edited May 12, 2020 by Jholz27 Quote
0 HaureN Posted May 12, 2020 Posted May 12, 2020 (edited) 1% per refine { .@r = getRefine(); bonus2 bSkillAtk, "CR_ACIDDEMOSTRATION", .@r; } 1% per 2 refines { .@r = getRefine(); bonus2 bSkillAtk, "CR_ACIDDEMOSTRATION", .@r/2; } if i remember correctly 3/2 in rathena is equal to 1 because it gets the integer value, so on odd number refines it will get a previous bonus. if u going to use the refine number more than one time use a variable Edited May 12, 2020 by HaureN 1 Quote
0 Bolby91 Posted May 12, 2020 Author Posted May 12, 2020 thanks! { .@r = getRefine(); bonus2 bSkillAtk, "AS_SONICBLOW", .@r/2; bonus2 bSkillAtk, "AS_GRIMTOOTH", .@r/2; } like that? Quote
0 HaureN Posted May 12, 2020 Posted May 12, 2020 (edited) If u want sonic blow and grimtooth 1% per refine, yes Edited May 12, 2020 by HaureN Quote
0 Bolby91 Posted May 12, 2020 Author Posted May 12, 2020 1 minute ago, HaureN said: If u want sonic blow and grimtooth 1% per refine, yes thanks! Quote
Question
Bolby91
hi i want to know if my script is right? for Increase Acid Demonstraton by 1% per refine.
bonus2 bSkillAtk,"CR_ACIDDEMONSTRATION",getrefine();
and i would like to know what would i change if i want it Increase 1% by 2 refines
Edited by Jholz274 answers 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.