From 0eacbce313b795708d6fb2c07af58d48f793bec6 Mon Sep 17 00:00:00 2001
From: Alex Noir
Date: Sun, 17 Dec 2017 16:32:25 +0300
Subject: [PATCH] Tweaked crowbar to be a powerful two-handed weapon instead
---
Barotrauma/BarotraumaShared/Content/Items/Tools/tools.xml | 8 ++++----
.../Source/Items/Components/Holdable/MeleeWeapon.cs | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Barotrauma/BarotraumaShared/Content/Items/Tools/tools.xml b/Barotrauma/BarotraumaShared/Content/Items/Tools/tools.xml
index 5e0c69ecf..fc2150ced 100644
--- a/Barotrauma/BarotraumaShared/Content/Items/Tools/tools.xml
+++ b/Barotrauma/BarotraumaShared/Content/Items/Tools/tools.xml
@@ -190,15 +190,15 @@
category="Equipment"
Tags="smallitem"
- price="10">
+ price="15">
-
-
+
+
diff --git a/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/MeleeWeapon.cs b/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/MeleeWeapon.cs
index 07aa6982a..38f8ca61a 100644
--- a/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/MeleeWeapon.cs
+++ b/Barotrauma/BarotraumaShared/Source/Items/Components/Holdable/MeleeWeapon.cs
@@ -137,7 +137,7 @@ namespace Barotrauma.Items.Components
}
else
{
- ac.HoldItem(deltaTime, item, handlePos, new Vector2(hitPos, 0.0f), aimPos, false, holdAngle);
+ ac.HoldItem(deltaTime, item, handlePos, holdPos, aimPos, false, holdAngle);
}
}
else