Skip to content

Commit

Permalink
fix(visual): Force Sword/Axe side flip (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
EttyKitty committed Jan 25, 2025
1 parent 012901e commit 4b48958
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/scr_ui_display_weapons/scr_ui_display_weapons.gml
Original file line number Diff line number Diff line change
Expand Up @@ -320,17 +320,17 @@ function scr_ui_display_weapons(left_or_right, current_armor, equiped_weapon, cu
hand_on_top[2]=true;
}

if (array_contains(["Power Mace", "Mace of Absolution", "Power Axe", "Shock Maul", "Chainaxe"], equiped_weapon)) {
if (array_contains(["Power Mace", "Mace of Absolution", "Power Axe", "Shock Maul", "Chainaxe", "Force Axe"], equiped_weapon)) {
hand_variant[left_or_right] = 3;
}

if (array_contains(["Sniper Rifle", "Force Staff", "Power Sword", "Thunder Hammer", "Autocannon", "Combat Knife", "Power Spear", "Chainsword"], equiped_weapon)) {
if (array_contains(["Sniper Rifle", "Force Staff", "Power Sword", "Thunder Hammer", "Autocannon", "Combat Knife", "Power Spear", "Chainsword", "Force Sword"], equiped_weapon)) {
hand_variant[left_or_right] = 2;
hand_on_top[left_or_right] = true;
}

// New weapon draw method
if (array_contains(["Force Staff", "Mace of Absolution", "Power Mace", "Power Axe", "Power Sword", "Autocannon", "Combat Knife", "Power Spear", "Shock Maul", "Chainsword", "Chainaxe"], equiped_weapon)) {
if (array_contains(["Force Staff", "Mace of Absolution", "Power Mace", "Power Axe", "Power Sword", "Autocannon", "Combat Knife", "Power Spear", "Shock Maul", "Chainsword", "Chainaxe", "Force Sword", "Force Axe"], equiped_weapon)) {
new_weapon_draw[left_or_right] = true;
}

Expand Down

0 comments on commit 4b48958

Please sign in to comment.