He's asking about SP damage.
Try this
case MO_EXTREMITYFIST:
if(sstatus->sp <= 6000)
skillratio += 100 * (7 + sstatus->sp / 10);
else // Asura strike SP damage max is 6k
skillratio += 100 * (7 + 6000 / 10);
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;
If you want to test if it's working try. Make one champion with 6K SP and another one with over 6K SP. If the damage is the same, then it's working.
Not working either
Maybe i should change this??
battle c.
static int battle_calc_attack_skill_ratio(struct Damage wd, struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv)
{
struct map_session_data *sd = BL_CAST(BL_PC, src);
struct map_session_data *tsd = BL_CAST(BL_PC, src);
Not working.