summaryrefslogtreecommitdiff
path: root/src/map/mercenary.h
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-24 23:49:05 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-24 23:49:05 +0000
commitd4370c97fdca04e6c1d1fb8223acd08c0b140692 (patch)
tree778f894bb5e278d6f3958f8ca63e8baa59b6298b /src/map/mercenary.h
parent1a418b0d54045b0cd7cef6bfee4d43412e6d3889 (diff)
downloadhercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.tar.gz
hercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.tar.bz2
hercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.tar.xz
hercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.zip
- Cleanup/typo on homunc's code
- Modified @reloadmobdb & @reloadskilldb to reload homunc's db too git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8476 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r--src/map/mercenary.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h
index e6c64f55a..bf30d7fe0 100644
--- a/src/map/mercenary.h
+++ b/src/map/mercenary.h
@@ -33,10 +33,7 @@ struct homunculus_db {
int gmaxLUK ;
int evo_class ;
int baseASPD ;
- //short size ;
- //short race ;
- //short element ;
- unsigned char element, race, size; // albator
+ unsigned char element, race, size;
int accessID ;
};
extern struct homunculus_db homuncumlus_db[MAX_HOMUNCULUS_CLASS];
@@ -63,19 +60,21 @@ int merc_hom_levelup(struct homun_data *hd) ;
int merc_hom_evolution(struct homun_data *hd) ;
void merc_hom_heal(struct homun_data *hd,int hp,int sp);
int merc_hom_vaporize(struct map_session_data *sd, int flag);
-int merc_revive_homunculus(struct map_session_data *sd, unsigned char per, short x, short y);
-void merc_homun_revive(struct homun_data *hd, unsigned int hp, unsigned int sp);
+int merc_resurrect_homunculus(struct map_session_data *sd, unsigned char per, short x, short y);
+void merc_hom_revive(struct homun_data *hd, unsigned int hp, unsigned int sp);
void merc_save(struct homun_data *hd);
int merc_call_homunculus(struct map_session_data *sd, short x, short y);
-int merc_create_homunculus(struct map_session_data *sd, int class_);
+int merc_create_homunculus_request(struct map_session_data *sd, int class_);
int search_homunculusDB_index(int key,int type);
int merc_menu(struct map_session_data *sd,int menunum);
int merc_hom_food(struct map_session_data *sd, struct homun_data *hd);
int merc_hom_hungry_timer_delete(struct homun_data *hd);
#define merc_stop_walking(hd, type) { if((hd)->ud.walktimer != -1) unit_stop_walking(&(hd)->bl, type); }
#define merc_stop_attack(hd) { if((hd)->ud.attacktimer != -1) unit_stop_attack(&(hd)->bl); hd->ud.target = 0; }
-int read_homunculusdb(void);
int merc_hom_increase_intimacy(struct homun_data * hd, unsigned int value);
int merc_hom_decrease_intimacy(struct homun_data * hd, unsigned int value);
int merc_skill_tree_get_max(int id, int b_class);
void merc_hom_init_timers(struct homun_data * hd);
+void merc_skill_reload();
+void merc_reload();
+