Frost Diver Posted March 28, 2020 Posted March 28, 2020 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 Quote
0 kodkodkub Posted March 30, 2020 Posted March 30, 2020 Quote sc_start SC_INCDEFRATE,<time>,-50; Reduce wearer's defense 50%. Quote
0 Normynator Posted March 28, 2020 Posted March 28, 2020 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; } Quote
0 Frost Diver Posted March 28, 2020 Author Posted March 28, 2020 (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 March 28, 2020 by Frost Diver Quote
0 Frost Diver Posted April 1, 2020 Author Posted April 1, 2020 On 3/31/2020 at 2:33 AM, kodkodkub said: Reduce wearer's defense 50%. it works. but only def 1. thanks btw man Quote
Question
Frost Diver
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.