summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-25 20:06:13 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-25 20:06:13 +0000
commit0d9785742ca4554d633c226c2db8fa7a2d255082 (patch)
tree2b689304aa2df09f623816315be6538bc64e5258 /src/map/pet.h
parent922f62e89a8b3dae0f7e407fae044299988b9ece (diff)
downloadhercules-0d9785742ca4554d633c226c2db8fa7a2d255082.tar.gz
hercules-0d9785742ca4554d633c226c2db8fa7a2d255082.tar.bz2
hercules-0d9785742ca4554d633c226c2db8fa7a2d255082.tar.xz
hercules-0d9785742ca4554d633c226c2db8fa7a2d255082.zip
- Implemented new Pet Bonus System. Enjoy!! :D
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13491 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.h')
-rw-r--r--src/map/pet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index 20538e240..729fdeb92 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -27,7 +27,8 @@ struct s_pet_db {
int attack_rate;
int defence_attack_rate;
int change_target_rate;
- struct script_code *script;
+ struct script_code *equip_script;
+ struct script_code *pet_script;
};
extern struct s_pet_db pet_db[MAX_PET_DB];
@@ -101,6 +102,7 @@ struct pet_data {
int pet_create_egg(struct map_session_data *sd, int item_id);
int pet_hungry_val(struct pet_data *pd);
+void pet_set_intimate(struct pet_data *pd, int value);
int pet_target_check(struct map_session_data *sd,struct block_list *bl,int type);
int pet_unlocktarget(struct pet_data *pd);
int pet_sc_check(struct map_session_data *sd, int type); //Skotlex