Bolby91 Posted May 12, 2020 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 60 Reputation: 0 Joined: 07/03/13 Last Seen: February 12 Share 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 Link to comment Share on other sites More sharing options...
0 HaureN Posted May 12, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 35 Reputation: 25 Joined: 10/17/13 Last Seen: December 30, 2022 Share 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 Link to comment Share on other sites More sharing options...
0 Bolby91 Posted May 12, 2020 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 60 Reputation: 0 Joined: 07/03/13 Last Seen: February 12 Author Share Posted May 12, 2020 thanks! { .@r = getRefine(); bonus2 bSkillAtk, "AS_SONICBLOW", .@r/2; bonus2 bSkillAtk, "AS_GRIMTOOTH", .@r/2; } like that? Quote Link to comment Share on other sites More sharing options...
0 HaureN Posted May 12, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 35 Reputation: 25 Joined: 10/17/13 Last Seen: December 30, 2022 Share Posted May 12, 2020 (edited) If u want sonic blow and grimtooth 1% per refine, yes Edited May 12, 2020 by HaureN Quote Link to comment Share on other sites More sharing options...
0 Bolby91 Posted May 12, 2020 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 60 Reputation: 0 Joined: 07/03/13 Last Seen: February 12 Author Share Posted May 12, 2020 1 minute ago, HaureN said: If u want sonic blow and grimtooth 1% per refine, yes thanks! Quote Link to comment Share on other sites More sharing options...
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 Jholz27Link to comment
Share on other sites
4 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.