I tried adding this code in skill.c
if (skill_id == SL_PRIEST) {
clif_skill_nodamage(src,bl,skill_id,skill_lv,
sc_start4(src,bl,SC_REFLECTSHIELD,100,7,skill_id,0,0,skill_get_time(skill_id,skill_lv)));
}
To Automatically receives Lv.7 "Reflect Shield" status that will make melee attacks to be reflected.
It worked fine when a Soul Linker Job casts the spell on the priest.
But when i created an item with this item bonus:
skilleffect "SL_PRIEST",0; sc_start4 SC_SPIRIT,350000,5,454,0,0;
After the using item, the soul link doesn't work.
I provided screenshots:
a) When used an item with the given itembonus. NOT WORKING
b) When a Soul Linker casts the spell. WORKING