diff options
author | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-23 20:23:03 +0000 |
---|---|---|
committer | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-23 20:23:03 +0000 |
commit | 28df54873035f1ec11e8c60a6b218e318323b032 (patch) | |
tree | 6f2ceedac0b1d34e548b4e5bb6eecf84b4886743 /src/map/script.c | |
parent | db2241eb1df2cb260298108536e846a6cf0cc5ee (diff) | |
download | hercules-28df54873035f1ec11e8c60a6b218e318323b032.tar.gz hercules-28df54873035f1ec11e8c60a6b218e318323b032.tar.bz2 hercules-28df54873035f1ec11e8c60a6b218e318323b032.tar.xz hercules-28df54873035f1ec11e8c60a6b218e318323b032.zip |
* 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
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 1 insertions, 2 deletions
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_); |