1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-01-20 01:10:13 +00:00

missed tech effect with hitbox visualization on

This commit is contained in:
jugeeya 2020-07-07 08:28:54 -07:00 committed by GitHub
parent 0fa9778d0c
commit 6f5c30fd18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,8 @@ pub unsafe fn get_command_flag_cat(
}
// Pause Effect AnimCMD if hitbox visualization is active
MotionAnimcmdModule::set_sleep_effect(module_accessor, true);
// Keep effects on for missed tech effect
MotionAnimcmdModule::set_sleep_effect(module_accessor, status_kind != FIGHTER_STATUS_KIND_DOWN);
EffectModule::set_visible_kind(module_accessor, Hash40::new("sys_shield"), false);
EffectModule::kill_kind(module_accessor, Hash40::new("sys_shield"), false, true);