Tweaked crowbar to be a powerful two-handed weapon instead

This commit is contained in:
Alex Noir
2017-12-17 16:32:25 +03:00
parent 6b8bd59656
commit 0eacbce313
2 changed files with 5 additions and 5 deletions
@@ -190,15 +190,15 @@
category="Equipment" category="Equipment"
Tags="smallitem" Tags="smallitem"
price="10"> price="15">
<Sprite texture ="tools.png" sourcerect="0,65,64,12" depth="0.55"/> <Sprite texture ="tools.png" sourcerect="0,65,64,12" depth="0.55"/>
<Body width="60" height="10" density="50"/> <Body width="60" height="10" density="50"/>
<MeleeWeapon slots="Any,RightHand,LeftHand" <MeleeWeapon slots="RightHand+LeftHand,Any"
aimpos="50,0" handle1="-5,0" holdangle="30" reload="1.7"> controlpose="true" aimpos="50,0" handle1="-5,0" handle2="-3,5" holdangle="30" reload="1.7">
<Attack damage="10" stun="0.4" damagetype="Blunt" sound="Content/Items/Weapons/smack.ogg"/> <Attack damage="20" stun="0.6" damagetype="Blunt" sound="Content/Items/Weapons/smack.ogg"/>
</MeleeWeapon> </MeleeWeapon>
</Item> </Item>
@@ -137,7 +137,7 @@ namespace Barotrauma.Items.Components
} }
else else
{ {
ac.HoldItem(deltaTime, item, handlePos, new Vector2(hitPos, 0.0f), aimPos, false, holdAngle); ac.HoldItem(deltaTime, item, handlePos, holdPos, aimPos, false, holdAngle);
} }
} }
else else