Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12852 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
85e23b586c
commit
935ec01db7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user