Where is skillid you need switch to skill_id and skilllvl to skill_lvl.
Ex: if( skillid == MO_EXTREMITYFIST ) --- > if( skill_id == MO_EXTREMITYFIST )
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag) --- > skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
and in Battle.c you change this line:
For this:
Sorry my English is not good, but try this maybe you can get.