diff options
author | sketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-18 08:44:37 +0000 |
---|---|---|
committer | sketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-18 08:44:37 +0000 |
commit | 16d5b76a69ea16dce3460dcf3fc6d196bb628163 (patch) | |
tree | 230da025d9ec6e4e8696ef7d0b83885d81d706a7 /src | |
parent | 709f0a57b14340531435450e43a8b277cae024d3 (diff) | |
download | hercules-16d5b76a69ea16dce3460dcf3fc6d196bb628163.tar.gz hercules-16d5b76a69ea16dce3460dcf3fc6d196bb628163.tar.bz2 hercules-16d5b76a69ea16dce3460dcf3fc6d196bb628163.tar.xz hercules-16d5b76a69ea16dce3460dcf3fc6d196bb628163.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/map/unit.c | 8 |
1 files changed, 7 insertions, 1 deletions
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; |