Jump to content
  • 0
Bolby91

(HELP) Increase ACID DEMONSTRATION by 1% per refine.

Question

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 Jholz27
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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 by HaureN
  • 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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.