Jump to content
  • 0

Item script help


Frost Diver

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  81
  • Reputation:   17
  • Joined:  07/18/16
  • Last Seen:  

Quote

sc_start SC_INCDEFRATE,<time>,-50;

Reduce wearer's defense 50%.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

On 3/31/2020 at 2:33 AM, kodkodkub said:

Reduce wearer's defense 50%.

it works. but only def 1. thanks btw man

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