diff options
author | Haru <haru@dotalux.com> | 2015-12-15 00:25:54 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-28 18:35:59 +0100 |
commit | 11278d27b85a5930b548c73e20fd651558e0e1bf (patch) | |
tree | 2d50acab00dac4bc123b65bf2f0504efadfde781 /src/map/skill.c | |
parent | f469cad82f1ee643899130d935c6f4979bfb252d (diff) | |
download | hercules-11278d27b85a5930b548c73e20fd651558e0e1bf.tar.gz hercules-11278d27b85a5930b548c73e20fd651558e0e1bf.tar.bz2 hercules-11278d27b85a5930b548c73e20fd651558e0e1bf.tar.xz hercules-11278d27b85a5930b548c73e20fd651558e0e1bf.zip |
Added Zanzou mob ID to the mob_id enum
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index ce6f2f367..08c06011f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9630,7 +9630,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin if(sd) { struct mob_data *summon_md; - summon_md = mob->once_spawn_sub(src, src->m, src->x, src->y, status->get_name(src), 2308, "", SZ_SMALL, AI_NONE); + summon_md = mob->once_spawn_sub(src, src->m, src->x, src->y, status->get_name(src), MOBID_KO_KAGE, "", SZ_SMALL, AI_NONE); if( summon_md ) { summon_md->master_id = src->id; summon_md->special_state.ai = AI_ZANZOU; @@ -14088,7 +14088,7 @@ int skill_check_condition_castend(struct map_session_data* sd, uint16 skill_id, break; case KO_ZANZOU: { int c = 0; - i = map->foreachinmap(skill->check_condition_mob_master_sub, sd->bl.m, BL_MOB, sd->bl.id, 2308, skill_id, &c); + i = map->foreachinmap(skill->check_condition_mob_master_sub, sd->bl.m, BL_MOB, sd->bl.id, MOBID_KO_KAGE, skill_id, &c); if( c >= skill->get_maxcount(skill_id,skill_lv) || c != i) { clif->skill_fail(sd , skill_id, USESKILL_FAIL_LEVEL, 0); return 0; |