1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-27 20:34:03 +00:00

Test to fix parrying

This commit is contained in:
GradualSyrup 2023-08-30 19:55:11 +00:00
parent 00b3acba4e
commit d3c3d5b139

View file

@ -241,6 +241,18 @@ unsafe fn mod_handle_sub_guard_cont(fighter: &mut L2CFighterCommon) {
return; return;
} }
if is_in_parry(module_accessor) {
return;
}
if MENU.mash_triggers.contains(MashTrigger::SHIELDSTUN) {
if MENU.shieldstun_override == Action::empty() {
mash::external_buffer_menu_mash(MENU.mash_state.get_random())
} else {
mash::external_buffer_menu_mash(MENU.shieldstun_override.get_random())
}
}
let action = mash::get_current_buffer(); let action = mash::get_current_buffer();
if handle_escape_option(fighter, module_accessor) { if handle_escape_option(fighter, module_accessor) {