summaryrefslogtreecommitdiff
path: root/src/map/mercenary.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-01 00:45:56 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-01 00:45:56 +0000
commita1ee9fdfc9e4be285a2c21fa2bcd309da89ffe43 (patch)
tree266a5e008ae6a16ca9d4d644a9cee86e7271c7d8 /src/map/mercenary.h
parentbb1a4e56b358c36a7996be8d34b84e7f118f63f5 (diff)
downloadhercules-a1ee9fdfc9e4be285a2c21fa2bcd309da89ffe43.tar.gz
hercules-a1ee9fdfc9e4be285a2c21fa2bcd309da89ffe43.tar.bz2
hercules-a1ee9fdfc9e4be285a2c21fa2bcd309da89ffe43.tar.xz
hercules-a1ee9fdfc9e4be285a2c21fa2bcd309da89ffe43.zip
- Something i forget to commit mmo.h.
- Preparatives for Faith/Calls/Kills for mercenaries. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13167 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r--src/map/mercenary.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h
index 9c65b19e7..2a2e17cfa 100644
--- a/src/map/mercenary.h
+++ b/src/map/mercenary.h
@@ -38,15 +38,24 @@ struct mercenary_data {
bool merc_class(int class_);
struct view_data * merc_get_viewdata(int class_);
+
int merc_create(struct map_session_data *sd, int class_, unsigned int lifetime);
int merc_data_received(struct s_mercenary *merc, bool flag);
int mercenary_save(struct mercenary_data *md);
+
void mercenary_damage(struct mercenary_data *md, struct block_list *src, int hp, int sp);
void mercenary_heal(struct mercenary_data *md, int hp, int sp);
int mercenary_dead(struct mercenary_data *md, struct block_list *src);
-int do_init_mercenary(void);
+
int merc_delete(struct mercenary_data *md, int reply);
void merc_contract_stop(struct mercenary_data *md);
+
int mercenary_get_lifetime(struct mercenary_data *md);
+int mercenary_get_faith(struct mercenary_data *md);
+int mercenary_set_faith(struct mercenary_data *md, int value);
+int mercenary_get_calls(struct mercenary_data *md);
+int mercenary_set_calls(struct mercenary_data *md, int value);
+
+int do_init_mercenary(void);
#endif /* _MERCENARY_H_ */