hi collaborators. I would like to know how to configure this same script of item_dbID 2199 (Ahura Mazdah) { sc_start4 SC_ENDURE,60000,10,0,0,1; },{ sc_end SC_ENDURE; } as an example of the skill Endure to be active all the time the skillSL_KAITE (465) I tried setting: { sc_start4 SC_ENDURE,60000,10,0,0,1; sc_start4 SC_KAITE,60000,7,0,0,1; },{ sc_end SC_ENDURE; sc_end SC_KAITE; } but it didn't work, just the "visual" effect.
DETAIL: (visual effect lasts a short time after the effect of the skill "Kaite" is added)
taking advantage of the subject of the skill "Kaite" I made the changes in src/skill.cpp but it didn't work.
Spoiler
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;
}
I changed the return 2; to return 1; and continues not reflecting in area.
Question
IsabelaFernandez
hi collaborators.
I would like to know how to configure this same script of item_db ID 2199 (Ahura Mazdah) { sc_start4 SC_ENDURE,60000,10,0,0,1; },{ sc_end SC_ENDURE; } as an example of the skill Endure to be active all the time the skill SL_KAITE (465)
I tried setting: { sc_start4 SC_ENDURE,60000,10,0,0,1; sc_start4 SC_KAITE,60000,7,0,0,1; },{ sc_end SC_ENDURE; sc_end SC_KAITE; }
but it didn't work, just the "visual" effect.
DETAIL: (visual effect lasts a short time after the effect of the skill "Kaite" is added)
taking advantage of the subject of the skill "Kaite" I made the changes in src/skill.cpp but it didn't work.
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; }
I changed the return 2; to return 1; and continues not reflecting in area.
Edited by IsabelaFernandez6 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.