* Blaze * 6 Posted September 14, 2016 (edited) hello help me how to fix this using rA since rAthena down battle.c: In function ‘battle_calc_attack_skill_ratio’: battle.c:3363: error: ‘SC_SOULLINK’ undeclared (first use in this function) battle.c:3363: error: (Each undeclared identifier is reported only once battle.c:3363: error: for each function it appears in.) battle.c: In function ‘battle_attack_sc_bonus’: battle.c:4350: warning: unused variable ‘tstatus’ switch(skill_id) { case SM_BASH: case MS_BASH: skillratio += 30 * skill_lv; if ( sd->sc.data[sC_SOULLINK] && sd->sc.data[sC_SOULLINK]->val2 == SL_SUPERNOVICE ) skillratio += 50; break; Edited September 14, 2016 by * Blaze * Quote Share this post Link to post Share on other sites
hello help me how to fix this using rA since rAthena down
switch(skill_id) {
case SM_BASH:
case MS_BASH:
skillratio += 30 * skill_lv;
if ( sd->sc.data[sC_SOULLINK] && sd->sc.data[sC_SOULLINK]->val2 == SL_SUPERNOVICE )
skillratio += 50;
break;
Edited by * Blaze *Share this post
Link to post
Share on other sites