Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit d9901e5

Browse files
committed
RPC tweaks
1 parent 104f09f commit d9901e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Ronin.rte/Devices/Weapons/RocketPropelledChainsaw/RPCShot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function Update(self)
2525
if moCheck ~= rte.NoMOID then
2626
local mo = MovableMan:GetMOFromID(moCheck);
2727
if mo then
28-
if mo.Material.StructuralIntegrity > 100 then
28+
if mo.Material.StructuralIntegrity > self.Mass * self.Sharpness then
2929
local dist = SceneMan:ShortestDistance(self.Pos, mo.Pos, SceneMan.SceneWrapsX);
3030
self:AddWound(CreateAEmitter(self:GetEntryWoundPresetName()), Vector(math.random(1 + self.length), 0), true);
3131

Ronin.rte/Devices/Weapons/RocketPropelledChainsaw/RocketPropelledChainsaw.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
AddEffect = AEmitter
66
PresetName = Particle Ronin RPC Shot
77
LifeTime = 4000
8-
Mass = 15
8+
Mass = 10
9+
Sharpness = 1
910
RestThreshold = -500
1011
OrientToVel = 0.2
1112
GlobalAccScalar = 0.2

0 commit comments

Comments
 (0)