kidsada Posted June 3, 2018 Posted June 3, 2018 how could i change the effect of Kaite to can't reflec the magic like meteor storm/ Load of Vermillion/ Strom Gust? Quote
1 joecalis Posted June 3, 2018 Posted June 3, 2018 (edited) I'm guessing your server is pre-renewal since renewal already ignores kaite reflect for AoE's. To enable this in pre-renewal just uncomment or delete the #ifdef RENEWAL and #endif in the code crazyarashi posted and change the return value back to 2. It should look like this: if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80) //#ifdef RENEWAL && type // Does not reflect AoE //#endif ) { // Kaite only works against non-players if they are low-level. // Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it. clif_specialeffect(bl, EF_ATTACKENERGY2, AREA); if( --sc->data[SC_KAITE]->val2 <= 0 ) status_change_end(bl, SC_KAITE, INVALID_TIMER); return 2; } Edited June 3, 2018 by joecalis 1 Quote
0 crazyarashi Posted June 3, 2018 Posted June 3, 2018 if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80) #ifdef RENEWAL && type // Does not reflect AoE #endif ) { // Kaite only works against non-players if they are low-level. // Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it. clif_specialeffect(bl, EF_ATTACKENERGY2, AREA); if( --sc->data[SC_KAITE]->val2 <= 0 ) status_change_end(bl, SC_KAITE, INVALID_TIMER); return 2; } Find this part in src/skill.cpp and change the return 2; to return 1; Quote
0 kidsada Posted June 3, 2018 Author Posted June 3, 2018 (edited) Thank you It does not work. Spoiler Thank you It does not work. Edited June 3, 2018 by kidsada Quote
0 IsabelaFernandez Posted April 10, 2022 Posted April 10, 2022 On 6/3/2018 at 7:13 AM, crazyarashi said: if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80) #ifdef RENEWAL && type // Does not reflect AoE #endif ) { // Kaite only works against non-players if they are low-level. // Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it. clif_specialeffect(bl, EF_ATTACKENERGY2, AREA); if( --sc->data[SC_KAITE]->val2 <= 0 ) status_change_end(bl, SC_KAITE, INVALID_TIMER); return 2; } Find this part in src/skill.cpp and change the return 2; to return 1; how do i reflect area damage with kaite? (renewal mode server) Quote
Question
kidsada
how could i change the effect of Kaite to can't reflec the magic like meteor storm/ Load of Vermillion/ Strom Gust?
6 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.