Jump to content
  • 0
Frost Diver

Item script help

Question

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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; }

 

Link to comment
Share on other sites

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