Frost Diver Posted March 28, 2020 Group: Members Topic Count: 48 Topics Per Day: 0.02 Content Count: 189 Reputation: 7 Joined: 10/22/18 Last Seen: 20 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 kodkodkub Posted March 30, 2020 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 81 Reputation: 18 Joined: 07/18/16 Last Seen: October 24, 2020 Share Posted March 30, 2020 Quote sc_start SC_INCDEFRATE,<time>,-50; Reduce wearer's defense 50%. Quote Link to comment Share on other sites More sharing options...
0 Normynator Posted March 28, 2020 Group: Developer Topic Count: 7 Topics Per Day: 0.00 Content Count: 292 Reputation: 199 Joined: 05/03/13 Last Seen: May 26, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 Frost Diver Posted March 28, 2020 Group: Members Topic Count: 48 Topics Per Day: 0.02 Content Count: 189 Reputation: 7 Joined: 10/22/18 Last Seen: 20 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
0 Frost Diver Posted April 1, 2020 Group: Members Topic Count: 48 Topics Per Day: 0.02 Content Count: 189 Reputation: 7 Joined: 10/22/18 Last Seen: 20 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.