thanks a lot.
int skill_calc_heal(struct block_list *src, struct block_list *target, int skill_id, int skill_lv, bool heal)
{
int skill, hp;
struct map_session_data *sd = map_id2sd(src->id);
struct map_session_data *tsd = map_id2sd(target->id);
struct status_data *status = status_get_status_data(src);
struct status_change* sc = status_get_sc(target);
switch( skill_id )
{
case BA_APPLEIDUN:
hp = 30 + 5 * skill_lv + 5 * (status->vit / 10); // HP recovery
if( sd )
hp += 5 * pc_checkskill(sd,BA_MUSICALLESSON);
break;
case PR_SANCTUARY:
hp = (skill_lv>6)?777:skill_lv*100;
if (dstmd->class_ == MOBID_EMPERIUM)
hp = 1;
break;
what do you think the error is,? i got error when i recompiled
fixed.