Jump to content
  • 0

reverting back refine items


Question

Posted

Good day.. Im.wondering if there is a possible way to revert refine items once they log in.. For example.. A player has a +10 valk armor .. Then once he log in it will be reverted / down graded to + 8 valk armor.. Then if i disbale that script it will stay as + 8 as is.

3 answers to this question

Recommended Posts

  • 1
Posted
10 hours ago, Halestorm said:

Good day.. Im.wondering if there is a possible way to revert refine items once they log in.. For example.. A player has a +10 valk armor .. Then once he log in it will be reverted / down graded to + 8 valk armor.. Then if i disbale that script it will stay as + 8 as is.

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4972-L4977

In the script section of valk armor in your item database add this.
 

if( getrefine() > 8 ) downrefitem EQI_ARMOR, (getrefine() - 8);

 

  • 0
Posted
8 hours ago, Halestorm said:

Im a bit confuse on how to do this... :wacko: can you elaborate it more?? Like step by step?

a368f16192fd2307b15940006c9cece9.gif

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...