Skip to content

Commit a1f3973

Browse files
committed
fixed a bug where plasma fire would burn perpetually
1 parent 6c71ea2 commit a1f3973

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

Data/MuIlaak.rte/Devices/Weapons/Solaris/Solaris.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function ThreadedUpdate(self)
100100
end
101101
end
102102

103-
local smoke = CreatePEmitter("Plasma Flame Hurt Short Float", "MuIlaak.rte");
103+
local smoke = CreatePEmitter("Plasma Flame Hurt Short Solaris", "MuIlaak.rte");
104104
smoke.Pos = gapPos;
105105
smoke.Vel = Vector(trace.X, trace.Y):SetMagnitude(6);
106106
smoke.Lifetime = smoke.Lifetime * strengthFactor;

Data/MuIlaak.rte/Shared/Ammo/PlasmaFlame/PlasmaFlame.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ AddEffect = PEmitter
137137
LifeTime = 6000
138138
EffectStopTime = 6000
139139
HitsMOs = 1
140-
ScriptPath = MuIlaak.rte/Shared/Ammo/PlasmaFlame/PlasmaFlame.lua
141140

142141
AddEffect = PEmitter
143142
CopyOf = Plasma Flame 1 Hurt
@@ -156,6 +155,10 @@ AddEffect = PEmitter
156155
LifeTime = 4500 // Maximum lifetime after collision
157156
EffectStartTime = 10
158157

158+
AddEffect = PEmitter
159+
CopyOf = Plasma Flame Hurt Short
160+
PresetName = Plasma Flame Hurt Short Solaris
161+
ScriptPath = MuIlaak.rte/Shared/Ammo/PlasmaFlame/PlasmaFlameSolaris.lua
159162

160163
AddEffect = PEmitter
161164
CopyOf = Plasma Flame 1 Hurt
@@ -172,7 +175,6 @@ AddEffect = PEmitter
172175
AddEffect = PEmitter
173176
CopyOf = Plasma Flame 1
174177
PresetName = Plasma Ground Flame
175-
ScriptPath = MuIlaak.rte/Shared/Ammo/PlasmaFlame/PlasmaFlame.lua
176178
LifeTime = 8000
177179
EffectStopTime = 16000
178180

Data/MuIlaak.rte/Shared/Ammo/PlasmaFlame/PlasmaFlame.lua renamed to Data/MuIlaak.rte/Shared/Ammo/PlasmaFlame/PlasmaFlameSolaris.lua

File renamed without changes.

0 commit comments

Comments
 (0)