From 0c3fe037b7df653d91b03bc19526dbc8b7e641cb Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sun, 31 Aug 2008 21:05:35 +0000 Subject: - Implemented script commands for mercenary items (mercenary_heal and mercenary_sc_start). - Fixed a bug crashing server with mercenary. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13159 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 5f05296cc..eb8e3b3f1 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -836,6 +836,7 @@ int status_heal(struct block_list *bl,int hp,int sp, int flag) case BL_PC: pc_heal((TBL_PC*)bl,hp,sp,flag&2?1:0); break; case BL_MOB: mob_heal((TBL_MOB*)bl,hp); break; case BL_HOM: merc_hom_heal((TBL_HOM*)bl,hp,sp); break; + case BL_MER: mercenary_heal((TBL_MER*)bl,hp,sp); break; } return hp+sp; -- cgit v1.2.3-70-g09d2