diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index e8cef9730..40bf4d1b0 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -500,7 +500,11 @@ static int mob_walk(struct mob_data *md,unsigned int tick,int data) mob_walktoxy_sub(md); return 0; } - + if (skill_check_basilica (&md->bl,x+dx,y+dy) || + skill_check_moonlit (&md->bl,x+dx,y+dy)) { + mob_walktoxy_sub(md); + return 0; + } moveblock = ( x/BLOCK_SIZE != (x+dx)/BLOCK_SIZE || y/BLOCK_SIZE != (y+dy)/BLOCK_SIZE); md->state.state=MS_WALK; |