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

Commit cb6388b

Browse files
committed
Improve Dihelical Cannon's terrain penetration capability
1 parent 5b91a31 commit cb6388b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Techion.rte/Devices/Weapons/DihelicalCannon/DihelicalShot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function Update(self)
6969
--Cancel the beam if there's a terrain collision.
7070
local trace = Vector(fireVector.X, fireVector.Y):SetMagnitude(self.damageSpeed * 0.1);
7171

72-
local strSumRay = SceneMan:CastStrengthSumRay(downPos, downPos + trace, 1, 160);
72+
local strSumRay = SceneMan:CastStrengthSumRay(downPos, downPos + trace, 3, 160);
7373
self.hits = self.hits + math.sqrt(strSumRay);
7474

7575
if SceneMan:GetTerrMatter(upPos.X, upPos.Y) == rte.airID then

0 commit comments

Comments
 (0)