From d83a44942aa80b5392a1b7cf519ccfe83ead0b6e Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 14 Sep 2007 18:46:41 +0000 Subject: - Gravitional Field is now a MISC type of attack. - battle_calc_return_damage now is only for BF_WEAPON attacks, added skill_magic_reflect to check whether a spell is bounced back or not. - Magic reflection now effectively switches the caster/target (after damage has been calculated) - Now when GTB completely blocks a spell, the spell animation will still come off, but with a single bolt and MISS damage. - Removed hom_setting&0x2 since Homunculus can be hit by land spells. - Monster Property now gives a Skill Failed message when attempted on players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11203 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index a4bab9b54..e4704ce2f 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -25,7 +25,7 @@ struct block_list; struct Damage battle_calc_attack(int attack_type,struct block_list *bl,struct block_list *target,int skill_num,int skill_lv,int flag); -int battle_calc_return_damage(struct block_list *bl, int *damage, int direct, int flag); +int battle_calc_return_damage(struct block_list *bl, int damage, int flag); void battle_drain(struct map_session_data *sd, struct block_list *tbl, int rdamage, int ldamage, int race, int boss); -- cgit v1.2.3-60-g2f50