File tree 1 file changed +7
-7
lines changed
fighters/common/src/general_statuses/shield
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,13 @@ pub unsafe fn sub_guard_cont(fighter: &mut L2CFighterCommon) -> L2CValue {
425
425
return true . into ( ) ;
426
426
}
427
427
428
+ // check parry
429
+ if fighter. is_parry_input ( ) {
430
+ fighter. change_status ( FIGHTER_STATUS_KIND_GUARD_OFF . into ( ) , true . into ( ) ) ;
431
+ VarModule :: on_flag ( fighter. object ( ) , vars:: common:: instance:: IS_PARRY_FOR_GUARD_OFF ) ;
432
+ return true . into ( ) ;
433
+ }
434
+
428
435
// check jump
429
436
if
430
437
fighter. sub_check_button_jump ( ) . get_bool ( ) ||
@@ -452,13 +459,6 @@ pub unsafe fn sub_guard_cont(fighter: &mut L2CFighterCommon) -> L2CValue {
452
459
return true . into ( ) ;
453
460
}
454
461
455
- // check parry
456
- if fighter. is_parry_input ( ) {
457
- fighter. change_status ( FIGHTER_STATUS_KIND_GUARD_OFF . into ( ) , true . into ( ) ) ;
458
- VarModule :: on_flag ( fighter. object ( ) , vars:: common:: instance:: IS_PARRY_FOR_GUARD_OFF ) ;
459
- return true . into ( ) ;
460
- }
461
-
462
462
return false . into ( ) ;
463
463
}
464
464
You can’t perform that action at this time.
0 commit comments