From 5d9d254ef290e9cc8acfdd08af279fdc1a439853 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 7 Jun 2006 18:57:21 +0000 Subject: - Added pc_calcexp to calculate individual exp bonuses acquired from exp's source (race bonus cards, SG Exp skills, pk-mode higher level exp) - pc_gain_exp now also receives the source of the exp, when said source exists, bonuses are applicated as needed. - Added status_kill when capturing a mob, should take care of the mob not respawning after caputed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7037 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/pet.c') diff --git a/src/map/pet.c b/src/map/pet.c index 3f88cfb41..091f733da 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -596,6 +596,7 @@ int pet_catch_process2(struct map_session_data *sd,int target_id) if(rand()%10000 < pet_catch_rate) { unit_remove_map(&md->bl,0); + status_kill(&md->bl); clif_pet_rulet(sd,1); // if(battle_config.etc_log) // printf("rulet success %d\n",target_id); -- cgit v1.2.3-70-g09d2