summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 13:33:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 13:33:51 +0000
commit71140a6d9bb8b15fdee82745b559db0ca6a0052d (patch)
tree0337ec2f6a388fdfb9862e7823f67446206629ee /src/map/battle.h
parent16cb5fef019d99367ef818e7c1d52a8c2deb8162 (diff)
downloadhercules-71140a6d9bb8b15fdee82745b559db0ca6a0052d.tar.gz
hercules-71140a6d9bb8b15fdee82745b559db0ca6a0052d.tar.bz2
hercules-71140a6d9bb8b15fdee82745b559db0ca6a0052d.tar.xz
hercules-71140a6d9bb8b15fdee82745b559db0ca6a0052d.zip
- Some cleaning of battle_drain, Evil Druid card should work now.
- Made status_damage allow damaging of objects not on a map, this should fix pet-catching making the mob never respawn again. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7946 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 641bf9927..12e4b2488 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -26,7 +26,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);
-void battle_drain(struct map_session_data *sd, struct map_session_data *tsd, int rdamage, int ldamage, int race, int boss);
+
+void battle_drain(struct map_session_data *sd, struct block_list *tbl, int rdamage, int ldamage, int race, int boss);
int battle_attr_fix(struct block_list *src, struct block_list *target, int damage,int atk_elem,int def_type, int def_lv);