Sallycantdance Posted December 18, 2023 Posted December 18, 2023 (edited) Hello regarding convex mirror is there any chance to change the 100% seach to 50% chance only meaning theres a chance to failed if they use it? Quote sc_start SC_BOSSMAPINFO,600000,0; Edited December 18, 2023 by GM Winter Quote
0 Winterfox Posted December 18, 2023 Posted December 18, 2023 (edited) https://github.com/rathena/rathena/blob/master/doc/script_commands.txt: *sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}}; Optional value <rate> is the chance that the status will be invoked (100 = 1%). This is used primarily in item scripts. When used in an NPC script, a flag MUST be defined for the rate to work. sc_start SC_BOSSMAPINFO,600000,0,5000; Edited December 19, 2023 by Winterfox 1 Quote
0 Sallycantdance Posted December 18, 2023 Author Posted December 18, 2023 28 minutes ago, Winterfox said: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt: *sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}}; Optional value <rate> is the chance that the status will be invoked (100 = 1%). This is used primarily in item scripts. When used in an NPC script, a flag MUST be defined for the rate to work. sc_start SC_BOSSMAPINFO,600000,5000; thank you so much for your reply Quote
0 Sallycantdance Posted December 19, 2023 Author Posted December 19, 2023 22 hours ago, Winterfox said: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt: *sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}}; Optional value <rate> is the chance that the status will be invoked (100 = 1%). This is used primarily in item scripts. When used in an NPC script, a flag MUST be defined for the rate to work. sc_start SC_BOSSMAPINFO,600000,5000; ive try this and i think it still got 100% chance even i edit this sc_start SC_BOSSMAPINFO,600000,5000; Quote
0 Nyxz Posted December 19, 2023 Posted December 19, 2023 13 minutes ago, GM Winter said: ive try this and i think it still got 100% chance even i edit this sc_start SC_BOSSMAPINFO,600000,5000; *sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}}; It should be like this sc_start SC_BOSSMAPINFO,600000,0,5000; Quote
0 Sallycantdance Posted December 19, 2023 Author Posted December 19, 2023 3 hours ago, Nyxz said: *sc_start <effect type>,<ticks>,<value 1>{,<rate>,<flag>{,<GID>}}; It should be like this sc_start SC_BOSSMAPINFO,600000,0,5000; thank you so much Quote
0 Emistry Posted December 30, 2023 Posted December 30, 2023 alternative ... if (rand(2)) sc_start SC_BOSSMAPINFO,600000,0; 1 Quote
0 Sallycantdance Posted December 30, 2023 Author Posted December 30, 2023 7 minutes ago, Emistry said: alternative ... if (rand(2)) sc_start SC_BOSSMAPINFO,600000,0; thank you sir @Emistry i will try this too Quote
Question
Sallycantdance
Hello regarding convex mirror is there any chance to change the 100% seach to 50% chance only meaning theres a chance to failed if they use it?
7 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.