|
@@ -11154,10 +11154,10 @@ int skill_castend_id(int tid, unsigned int tick, int id, intptr_t data)
|
|
|
|
|
|
if( sd && ud->skilltimer != INVALID_TIMER && (pc_checkskill(sd,SA_FREECAST) > 0 || ud->skill_id == LG_EXEEDBREAK) )
|
|
|
{// restore original walk speed
|
|
|
+ ud->skilltimer = INVALID_TIMER;
|
|
|
status_calc_bl(&sd->bl, SCB_SPEED);
|
|
|
- }
|
|
|
-
|
|
|
- ud->skilltimer = INVALID_TIMER;
|
|
|
+ } else
|
|
|
+ ud->skilltimer = INVALID_TIMER;
|
|
|
}
|
|
|
|
|
|
if (ud->skilltarget == id)
|
|
@@ -11434,9 +11434,10 @@ int skill_castend_pos(int tid, unsigned int tick, int id, intptr_t data)
|
|
|
|
|
|
if( sd && ud->skilltimer != INVALID_TIMER && ( pc_checkskill(sd,SA_FREECAST) > 0 || ud->skill_id == LG_EXEEDBREAK ) )
|
|
|
{// restore original walk speed
|
|
|
+ ud->skilltimer = INVALID_TIMER;
|
|
|
status_calc_bl(&sd->bl, SCB_SPEED);
|
|
|
- }
|
|
|
- ud->skilltimer = INVALID_TIMER;
|
|
|
+ } else
|
|
|
+ ud->skilltimer = INVALID_TIMER;
|
|
|
|
|
|
do {
|
|
|
int maxcount=0;
|