diff options
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index d9faf46c6..14c90453c 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -962,6 +962,12 @@ int unit_set_walkdelay(struct block_list *bl, unsigned int tick, int delay, int struct unit_data *ud = unit_bl2ud(bl); if (delay <= 0 || !ud) return 0; + /** + * MvP mobs have no walk delay + **/ + if( bl->type == BL_MOB && (((TBL_MOB*)bl)->status.mode&MD_BOSS) ) + return 0; + if (type) { if (DIFF_TICK(ud->canmove_tick, tick+delay) > 0) return 0; |