Zezicla Posted April 14, 2013 Posted April 14, 2013 (edited) i could need some help to get fcp also have accessory protection skill.c to start with add SC_CP_ACC twice const enum sc_type scdef[5] = {SC_CP_WEAPON, SC_CP_ARMOR, SC_CP_SHIELD, SC_CP_HELM, SC_CP_ACC, 0}; nxt const enum sc_type sc_def[5] = {SC_CP_WEAPON, SC_CP_SHIELD, SC_CP_ARMOR, SC_CP_HELM, SC_CP_ACC 0}; then find : nothing below this should be changed i guess tell me ? case ST_FULLSTRIP: location = EQP_WEAPON|EQP_SHIELD|EQP_ARMOR|EQP_HELM; break; case SC_STRIPACCESSARY: location = EQP_ACC; break; nxt // Full Chemical Protection case CR_FULLPROTECTION: { int i, skilltime; skilltime = skill_get_time(skillid,skilllv); if (!tsc) { clif_skill_nodamage(src,bl,skillid,skilllv,0); break; } for (i=0; i<4; i++) { status_change_end(bl, (sc_type)(SC_STRIPWEAPON + i), INVALID_TIMER); sc_start(bl,(sc_type)(SC_CP_WEAPON + i),100,skilllv,skilltime); } clif_skill_nodamage(src,bl,skillid,skilllv,1); } break; sc_start(bl,(sc_type)(SC_CP_WEAPON, SC_CP_ACC + i),100,skilllv,skilltime); how to add the SC_ACC the above ? for anything more i didnt found it thats fast help me out plz client side needs changes too i guess >< Edited April 14, 2013 by Zezicla Quote
Question
Zezicla
i could need some help to get fcp also have accessory protection
skill.c
to start with
nxt
then find : nothing below this should be changed i guess tell me
?
nxt
sc_start(bl,(sc_type)(SC_CP_WEAPON, SC_CP_ACC + i),100,skilllv,skilltime);
how to add the SC_ACC the above ?
for anything more i didnt found it thats fast help me out plz
client side needs changes too i guess ><
Edited by Zezicla5 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.