From 16d5b76a69ea16dce3460dcf3fc6d196bb628163 Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Wed, 18 Jun 2008 08:44:37 +0000 Subject: Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12852 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/map/unit.c b/src/map/unit.c index 06a0a07bf..2858a9b6d 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -220,7 +220,13 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr data) if(i > 0) ud->walktimer = add_timer(tick+i,unit_walktoxy_timer,id,i); - else if(ud->state.running) { + + if (map_getcell(bl->m,x,y,CELL_CHKBASILICA)) { + skill_blown(bl,bl,2,unit_getdir(bl),0); + clif_fixpos(bl); + } + + if(ud->state.running) { //Keep trying to run. if (!unit_run(bl)) ud->state.running = 0; -- cgit v1.2.3-70-g09d2