Moved SC_KI_SUL_RAMPAGE to clif_parse_WalkToXY (request to walk)
This commit is contained in:
parent
ea9d7ea370
commit
2aa0335165
@ -11481,6 +11481,7 @@ void clif_parse_WalkToXY(int fd, map_session_data *sd)
|
|||||||
skill_check_cloaking(&sd->bl, sd->sc.getSCE(SC_CLOAKING));
|
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_ROLLINGCUTTER); // If you move, you lose your counters. [malufett]
|
||||||
status_change_end(&sd->bl, SC_CRESCIVEBOLT);
|
status_change_end(&sd->bl, SC_CRESCIVEBOLT);
|
||||||
|
status_change_end(&sd->bl, SC_KI_SUL_RAMPAGE);
|
||||||
|
|
||||||
pc_delinvincibletimer(sd);
|
pc_delinvincibletimer(sd);
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
TBL_PC *sd = BL_CAST(BL_PC, bl);
|
||||||
|
|
||||||
|
// Start timer to recall summon
|
||||||
if( sd != nullptr ){
|
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)
|
if (sd->md != nullptr)
|
||||||
unit_check_start_teleport_timer(&sd->md->bl);
|
unit_check_start_teleport_timer(&sd->md->bl);
|
||||||
if (sd->ed != nullptr)
|
if (sd->ed != nullptr)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user