Doesn't work, Mark. It has an error.
skill.c: In function âskill_attackâ:
skill.c:2539: error: expected â)â before âstatus_damageâ
skill.c:2544: error: expected expression before â}â token
make[1]: *** [obj_sql/skill.o] Error 1
make[1]: Leaving directory `/eathena/src/map'
make: *** [map_sql] Error 2
[root@elite-ro eathena]#
line 2539: status_fix_damage(src,bl,damage,dmg.dmotion); //Deal damage before knockback to allow stuff like firewall+storm gust combo.
line 2544: }
Please help me sir =(
Sir I've implemented your battle.c and It somehow solves my problem. Here's the new situation after implementing your battle.c
2 pally, 2 champ.
Let: Party1 = pally1 + champ 1
Party2 = pally2 + champ 2
this is what is happening now, assuming that Champ 1 gets a Devotion from his party member (pally1), then, champ2 (wearing Orc Lord Card Armor) also gets devoted by his pally, when Champ1 asura champ2 (who is wearing Orc Lord Card), the champ2's pally died, but the problem is, my pally didn't receive any damage at all.