summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/mob.h2
-rw-r--r--src/map/skill.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 8042c55b1..073d485ff 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -390,6 +390,8 @@ enum mob_id {
//...
MOBID_LITTLE_FATUM = 2136, ///< LITTLE_FATUM / Little Fatum
MOBID_MIMING = 2137, ///< MIMING / Miming
+
+ MOBID_KO_KAGE = 2308, ///< KO_KAGE / Zanzou
};
// The data structures for storing delayed item drops
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;