summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-14 17:51:42 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-14 17:51:42 +0000
commitde8f91ae9dcda19d7a931e67104cc8fde86d0b73 (patch)
tree533057c803e498f1456ba90d020c4d65e83910c1 /src/map/battle.h
parent3f8b52f6d673b3e5d259a9bb10004375d7647533 (diff)
downloadhercules-de8f91ae9dcda19d7a931e67104cc8fde86d0b73.tar.gz
hercules-de8f91ae9dcda19d7a931e67104cc8fde86d0b73.tar.bz2
hercules-de8f91ae9dcda19d7a931e67104cc8fde86d0b73.tar.xz
hercules-de8f91ae9dcda19d7a931e67104cc8fde86d0b73.zip
- Fixed incorrect range check in autospell2 triggers.
- Modified Wedding recall skills to behave as in officials. - Modified Arrow Shower to be a ground-based skill and work as it should on officials. - Fixed skill_additional_effect triggering every time you were being hit even if no damage was returned. - Fixed battle_calc_damage_return to make magic damage be returned by 100%, and received damage nullified git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5598 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 3f3e28c11..3746ea7b1 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 flag);
+int battle_calc_return_damage(struct block_list *bl, int *damage, int flag);
int battle_attr_fix(struct block_list *src, struct block_list *target, int damage,int atk_elem,int def_elem);