1
0
Fork 0
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:
jugeeya 2022-11-07 10:55:13 -08:00 committed by GitHub
parent 2ca7e7a4a2
commit ccac7c958d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);