|
@@ -503,10 +503,6 @@ int unit_stop_walking(struct block_list *bl,int type)
|
|
if(!ud || ud->walktimer == -1)
|
|
if(!ud || ud->walktimer == -1)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
- sc = status_get_sc(bl);
|
|
|
|
- if (sc && sc->count && sc->data[SC_RUN].timer != -1)
|
|
|
|
- status_change_end(bl, SC_RUN, -1);
|
|
|
|
-
|
|
|
|
// if(md) { md->state.skillstate = MSS_IDLE; }
|
|
// if(md) { md->state.skillstate = MSS_IDLE; }
|
|
if(type&0x01) // ˆÊ’u•â�³‘—�M‚ª•K—v
|
|
if(type&0x01) // ˆÊ’u•â�³‘—�M‚ª•K—v
|
|
clif_fixpos(bl);
|
|
clif_fixpos(bl);
|
|
@@ -531,6 +527,10 @@ int unit_stop_walking(struct block_list *bl,int type)
|
|
if(type&~0xff)
|
|
if(type&~0xff)
|
|
ud->canmove_tick = gettick() + (type>>8);
|
|
ud->canmove_tick = gettick() + (type>>8);
|
|
}
|
|
}
|
|
|
|
+ sc = status_get_sc(bl);
|
|
|
|
+ if (sc && sc->count && sc->data[SC_RUN].timer != -1)
|
|
|
|
+ status_change_end(bl, SC_RUN, -1);
|
|
|
|
+
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -816,6 +816,10 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
|
|
casttime = 0;
|
|
casttime = 0;
|
|
temp = 1;
|
|
temp = 1;
|
|
break;
|
|
break;
|
|
|
|
+ case TK_RUN:
|
|
|
|
+ if (sc && sc->data[SC_RUN].timer != -1)
|
|
|
|
+ casttime = 0;
|
|
|
|
+ break;
|
|
case SA_MAGICROD:
|
|
case SA_MAGICROD:
|
|
case SA_SPELLBREAKER:
|
|
case SA_SPELLBREAKER:
|
|
temp =1;
|
|
temp =1;
|