Compare commits

...

2 Commits

Author SHA1 Message Date
Alex
c0b7a4ef83 Update file turretgenerator.lua 2023-09-02 18:55:09 +00:00
Alex
8e63f249a7 Update file turretgenerator.lua 2023-09-02 18:54:06 +00:00

View File

@@ -208,7 +208,7 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
if result.size >= 4 then if result.size >= 4 then
name = "Mass Driver /* weapon name*/"%_T name = "Mass Driver /* weapon name*/"%_T
weapom.speed = weapon.speed * 2 weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.2 weapon.reach = weapon.reach * 1.2
end end
@@ -283,7 +283,7 @@ function TurretGenerator.generateHookgunTurret(rand, dps, tech, material, rarity
local weapon = WeaponGenerator.generateHookgun(rand, dps, tech, material, rarity) local weapon = WeaponGenerator.generateHookgun(rand, dps, tech, material, rarity)
weapon.damage = weapon.damage / numWeapons weapon.damage = weapon.damage / numWeapons
local spec = rand(0.5) local spec = rand:getInt(0, 1)
if spec then if spec then
weapon.holdingForce = weapon.otherForce * 2 weapon.holdingForce = weapon.otherForce * 2