healthydude Posted August 1, 2018 Posted August 1, 2018 Great day to everyone here in rAthena forums, I've been trying all day on finding a workaround on how I can edit these two skills:1. Suffragium 2. Bragi's Poem I want to modify it in a way that they reduce "Fixed Casting Time" instead of "Variable Cast Time". I would appreciate it if anyone can enlighten me on how to modify these skills. Regards, healthydude Quote
0 Ninja Posted August 12, 2018 Posted August 12, 2018 (edited) Hey buddy, use the latest rathena, then copy-pasta. const.hpp Quote // Renewal variable cast time reduction #ifdef RENEWAL_CAST #define VARCAST_REDUCTION(val){ \ if( (varcast_r += val) != 0 && varcast_r >= 0 ) \ time = time * (1 - (float)min(val, 100) / 100); \ } #define FIXCAST_REDUCTION(val){ \ if( (fixcast_r += val) != 0 && fixcast_r >= 0 ) \ time = time * (1 - (float)min(val, 100) / 100); \ } #endif skill.cpp Quote if (sc->data[SC_SUFFRAGIUM]) { //VARCAST_REDUCTION(sc->data[SC_SUFFRAGIUM]->val2); FIXCAST_REDUCTION(sc->data[SC_SUFFRAGIUM]->val2); status_change_end(bl, SC_SUFFRAGIUM, INVALID_TIMER); } Quote if (sc->data[SC_POEMBRAGI]) FIXCAST_REDUCTION(sc->data[SC_POEMBRAGI]->val2); //reduce_cast_rate += sc->data[SC_POEMBRAGI]->val2; Edited August 12, 2018 by Ninja Quote
0 healthydude Posted August 15, 2018 Author Posted August 15, 2018 Thank you so much sir! You are a friggin life saver! I already solved it but thanks for giving me another avenue for solutions like this! Quote
Question
healthydude
Great day to everyone here in rAthena forums,
I've been trying all day on finding a workaround on how I can edit these two skills:
1. Suffragium
2. Bragi's Poem
I want to modify it in a way that they reduce "Fixed Casting Time" instead of "Variable Cast Time".
I would appreciate it if anyone can enlighten me on how to modify these skills.
Regards,
healthydude
2 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.