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

Commit 38718a3

Browse files
committed
Fix Dihelical Cannon for getting broken somehow + fx edits
1 parent f3e75de commit 38718a3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Techion.rte/Devices/Weapons/DihelicalCannon/DihelicalCannon.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ AddAmmo = MOPixel
162162
CopyOf = Air
163163
TrailLength = 0
164164
ScreenEffect = ContentFile
165-
FilePath = Base.rte/Effects/Glows/LightBlueHuge.bmp
165+
FilePath = Base.rte/Effects/Glows/LightBlueBig.bmp
166166
EffectStartTime = 0
167-
EffectStopTime = 500
167+
EffectStopTime = 200
168168
EffectStartStrength = 1
169169
EffectStopStrength = 0.0
170170
EffectAlwaysShows = 1

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ function Update(self)
6262
local amplitude = math.sin((i/self.waveLength) * 2 * math.pi) * self.maxAmplitude;
6363
local waveOffset = Vector(self.up.X, self.up.Y);
6464
waveOffset:SetMagnitude(amplitude);
65-
if amplitude < 0 then
66-
waveOffset = waveOffset:RadRotate(math.pi);
67-
end
6865

6966
local linePos = self.Pos + Vector(self.direction.X, self.direction.Y):SetMagnitude(i * 2);
7067
local fireVector = Vector(self.direction.X, self.direction.Y):SetMagnitude(self.damageSpeed);

0 commit comments

Comments
 (0)