diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/map/status.c b/src/map/status.c index 6ea757d2b..4b1144d49 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6825,6 +6825,17 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) } break; + case SC_KNOWLEDGE: + if (!sd) break; + if(bl->m == sd->feel_map[0].m || + bl->m == sd->feel_map[1].m || + bl->m == sd->feel_map[2].m) + { //Timeout will be handled by pc_setpos + sce->timer = INVALID_TIMER; + return 0; + } + break; + case SC_HPREGEN: if( sd && --(sce->val4) >= 0 ) { @@ -6837,16 +6848,6 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) } break; - case SC_KNOWLEDGE: - if (!sd) break; - if(bl->m == sd->feel_map[0].m || - bl->m == sd->feel_map[1].m || - bl->m == sd->feel_map[2].m) - { //Timeout will be handled by pc_setpos - sce->timer = INVALID_TIMER; - return 0; - } - break; case SC_DANCING: //ダンススキルの時間SP消費 { int s = 0; |