summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-31 17:00:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-31 17:00:34 +0000
commit1b31cc9de6ee1eae20f7c70615db3997797e7fb1 (patch)
treebe55fa84dc7b9fe938c5ecb82816f606a10f3384 /src/map/battle.h
parentc94206403784fa42f3aff2bf5a721d9eae9e5a78 (diff)
downloadhercules-1b31cc9de6ee1eae20f7c70615db3997797e7fb1.tar.gz
hercules-1b31cc9de6ee1eae20f7c70615db3997797e7fb1.tar.bz2
hercules-1b31cc9de6ee1eae20f7c70615db3997797e7fb1.tar.xz
hercules-1b31cc9de6ee1eae20f7c70615db3997797e7fb1.zip
- PF_SOULBURN no longer ignores mdef.
- HW_GRAVITATION should now invoke auto spells. - Added function battle_calc_return_damage to unify the return damage code. - Added autospell triggering to returned damage from normal attacks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5141 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 947b59a82..56404f0c9 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -25,6 +25,8 @@ 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_attr_fix(struct block_list *src, struct block_list *target, int damage,int atk_elem,int def_elem);
// ダメージ最終計算