mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-01-19 17:00:15 +00:00
Keep effects for most statuses including double jump, missed tech
This commit is contained in:
parent
2ca7e7a4a2
commit
ccac7c958d
1 changed files with 4 additions and 1 deletions
|
@ -172,7 +172,10 @@ pub unsafe fn get_command_flag_cat(module_accessor: &mut app::BattleObjectModule
|
||||||
|
|
||||||
// Pause Effect AnimCMD if hitbox visualization is active
|
// Pause Effect AnimCMD if hitbox visualization is active
|
||||||
// Keep effects on for missed tech effect
|
// Keep effects on for missed tech effect
|
||||||
MotionAnimcmdModule::set_sleep_effect(module_accessor, status_kind != FIGHTER_STATUS_KIND_DOWN);
|
MotionAnimcmdModule::set_sleep_effect(module_accessor,
|
||||||
|
!(*FIGHTER_STATUS_KIND_CATCH..=*FIGHTER_STATUS_KIND_TREAD_FALL)
|
||||||
|
.contains(&StatusModule::status_kind(module_accessor)
|
||||||
|
&& status_kind != FIGHTER_STATUS_KIND_DOWN);
|
||||||
|
|
||||||
EffectModule::set_visible_kind(module_accessor, Hash40::new("sys_shield"), false);
|
EffectModule::set_visible_kind(module_accessor, Hash40::new("sys_shield"), false);
|
||||||
EffectModule::kill_kind(module_accessor, Hash40::new("sys_shield"), false, true);
|
EffectModule::kill_kind(module_accessor, Hash40::new("sys_shield"), false, true);
|
||||||
|
|
Loading…
Reference in a new issue