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/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 181b50084..9e082a61c 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5625,7 +5625,7 @@ int buildin_getexp(struct script_state *st) if(base<0 || job<0) return 0; if(sd) - pc_gainexp(sd,base,job); + pc_gainexp(sd,NULL,base,job); return 0; } -- cgit v1.2.3-70-g09d2