From 28df54873035f1ec11e8c60a6b218e318323b032 Mon Sep 17 00:00:00 2001 From: momacabu Date: Sun, 23 Dec 2012 20:23:03 +0000 Subject: * Implemented @breakguild (tid:75159) and @hommutate (tid:74651). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17038 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 8f016a6f8..a949f8e96 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10117,7 +10117,6 @@ BUILDIN_FUNC(homunculus_evolution) BUILDIN_FUNC(homunculus_mutate) { int homun_id, m_class, m_id; - int homun_array[5] = {6048,6049,6050,6051,6052}; TBL_PC *sd; sd = script_rid2sd(st); @@ -10127,7 +10126,7 @@ BUILDIN_FUNC(homunculus_mutate) if(script_hasdata(st,2)) homun_id = script_getnum(st,2); else - homun_id = homun_array[rnd() % 5]; + homun_id = 6048 + (rnd() % 4); if(merc_is_hom_active(sd->hd)) { m_class = hom_class2mapid(sd->hd->homunculus.class_); -- cgit v1.2.3-70-g09d2