diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index db519fce9..ee7dfa8c3 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2699,8 +2699,8 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event) c2 = ms[i].cond2; if (ms[i].state != md->state.skillstate) { - if (md->state.skillstate != MSS_DEAD && ( - ms[i].state == MSS_ANY || (ms[i].state == MSS_ANYTARGET && md->target_id) + if (md->state.skillstate != MSS_DEAD && (ms[i].state == MSS_ANY || + (ms[i].state == MSS_ANYTARGET && md->target_id && md->state.skillstate != MSS_LOOT) )) //ANYTARGET works with any state as long as there's a target. [Skotlex] ; else |