Jump to content

Question

Posted

Hi guys,

May i know how can i set items script like this:

example = use White Potion and it give extra effect like reduce wearer's defense by 50%.

Any guide or example for this script? Im much appreciated.

Thanks

4 answers to this question

Recommended Posts

  • 0
Posted (edited)
3 hours ago, Normynator said:

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt

https://github.com/rathena/rathena/blob/master/doc/status_change.txt

Example script: (in this case "Awakening Potion")


{ sc_start SC_ASPDPOTION1,1800000,6; }

 

sorry but i dont see any item script to reduce wearer's defense. if creating a normal item such as card, it work. but im creating a usable like potions or something that can reduce wearer's defense to 50%.

Edited by Frost Diver

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...