Moved SC_KI_SUL_RAMPAGE to clif_parse_WalkToXY (request to walk)

This commit is contained in:
Atemo 2023-12-29 20:33:47 +01:00
parent ea9d7ea370
commit 2aa0335165
2 changed files with 2 additions and 4 deletions

View File

@ -11481,6 +11481,7 @@ void clif_parse_WalkToXY(int fd, map_session_data *sd)
skill_check_cloaking(&sd->bl, sd->sc.getSCE(SC_CLOAKING));
status_change_end(&sd->bl, SC_ROLLINGCUTTER); // If you move, you lose your counters. [malufett]
status_change_end(&sd->bl, SC_CRESCIVEBOLT);
status_change_end(&sd->bl, SC_KI_SUL_RAMPAGE);
pc_delinvincibletimer(sd);

View File

@ -786,11 +786,8 @@ int unit_walktoxy( struct block_list *bl, short x, short y, unsigned char flag)
TBL_PC *sd = BL_CAST(BL_PC, bl);
// Start timer to recall summon
if( sd != nullptr ){
if (sd->sc.getSCE(SC_KI_SUL_RAMPAGE))
status_change_end(bl, SC_KI_SUL_RAMPAGE);
// Start timer to recall summon
if (sd->md != nullptr)
unit_check_start_teleport_timer(&sd->md->bl);
if (sd->ed != nullptr)