summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 5a20c20d2..207184aca 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3529,7 +3529,8 @@ static int mobskill_use(struct mob_data *md, int64 tick, int event)
case MSC_ATTACKPCGE: // attack pc >= num
flag = (unit->counttargeted(&md->bl) >= c2); break;
case MSC_AFTERSKILL:
- flag = (md->ud.skill_id == c2); break;
+ flag = (md->ud.skill_id == c2 || c2 == 0);
+ break;
case MSC_RUDEATTACKED:
flag = (md->state.attacked_count >= RUDE_ATTACKED_COUNT);
if (flag) md->state.attacked_count = 0; //Rude attacked count should be reset after the skill condition is met. Thanks to Komurka [Skotlex]