summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-15 00:43:54 +0100
committerHaru <haru@dotalux.com>2015-12-28 18:35:59 +0100
commitcf142dc21aafd6bf0a483c87f32c219375ae116a (patch)
tree8fad3087c9bb62133f21bb0d68ab4d6b3a11d03a /src/map/status.c
parent11278d27b85a5930b548c73e20fd651558e0e1bf (diff)
downloadhercules-cf142dc21aafd6bf0a483c87f32c219375ae116a.tar.gz
hercules-cf142dc21aafd6bf0a483c87f32c219375ae116a.tar.bz2
hercules-cf142dc21aafd6bf0a483c87f32c219375ae116a.tar.xz
hercules-cf142dc21aafd6bf0a483c87f32c219375ae116a.zip
Added Poring to the mob_id enum
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b80f04046..39329d5bb 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -9317,7 +9317,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
int max = val1*3;
val3 = rnd()%(max-min)+min;
val2 = val1;
- val1 = 1002; // Monster ID
+ val1 = MOBID_PORING;
}
break;
case SC_KAGEMUSYA:
@@ -9432,8 +9432,8 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
val2 = 30 * val1;
break;
case SC_MONSTER_TRANSFORM:
- if( !mob->db_checkid(val1) )
- val1 = 1002; // default poring
+ if (!mob->db_checkid(val1))
+ val1 = MOBID_PORING;
break;
case SC_ALL_RIDING:
tick = -1;