Skip to content

Commit

Permalink
Add fixes for power crouch stab to the Enhancements menu (HarbourMast…
Browse files Browse the repository at this point in the history
…ers#874)

* Add optional fixes for power crouch stab

* Add line break in "Fix Megaton Hammer" tooltip

Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>

Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>
  • Loading branch information
lilDavid and PurpleHato committed Jul 21, 2022
1 parent a262fd3 commit 73670e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libultraship/ImGuiImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,14 @@ namespace SohImGui {
Tooltip("Correctly centers the Navi text prompt on the HUD's C-Up button");
EnhancementCheckbox("Fix Anubis fireballs", "gAnubisFix");
Tooltip("Make Anubis fireballs do fire damage when reflected\nback at them with the Mirror Shield");
EnhancementCheckbox("Fix Megaton Hammer crouch stab", "gCrouchStabHammerFix");
Tooltip("Make the Megaton Hammer's crouch stab able to destroy\nrocks without first swinging it normally");
if (CVar_GetS32("gCrouchStabHammerFix", 0) == 0) {
CVar_SetS32("gCrouchStabFix", 0);
} else {
EnhancementCheckbox("Remove power crouch stab", "gCrouchStabFix");
Tooltip("Make crouch stabbing always do the same damage as a regular slash");
}

ImGui::EndMenu();
}
Expand Down

0 comments on commit 73670e5

Please sign in to comment.