diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 00:31:29 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 00:31:29 +0000 |
commit | 760a86e1c577f776986f4558726a1784317037bb (patch) | |
tree | 1bd9ced75fd02c6a1cc74868c4e7bf9aa761ce11 /src/map/mercenary.h | |
parent | 19c0056b1af3fcc80e3f402e92ca605d4228873e (diff) | |
download | hercules-760a86e1c577f776986f4558726a1784317037bb.tar.gz hercules-760a86e1c577f776986f4558726a1784317037bb.tar.bz2 hercules-760a86e1c577f776986f4558726a1784317037bb.tar.xz hercules-760a86e1c577f776986f4558726a1784317037bb.zip |
- Moved the pet rename code from int_pet.c to inter.c and normalized it so it can be used for any object.
- Made homunculus renaming go through the char-server so it can be validated against the allowed characters setting.
- Added battle config hom_rename so you can enable renaming multiple times your homunc.
- Updated the hardcoded defaults for gvg-damage to what they should be.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9720 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r-- | src/map/mercenary.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h index 6a56b20a5..e5e194967 100644 --- a/src/map/mercenary.h +++ b/src/map/mercenary.h @@ -71,6 +71,8 @@ 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); +int merc_hom_change_name(struct map_session_data *sd,char *name); +int merc_hom_change_name_ack(struct map_session_data *sd, char* name, int flag); #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 merc_hom_increase_intimacy(struct homun_data * hd, unsigned int value); |