Compare commits

...

1 Commits

Author SHA1 Message Date
Alex
f258093ca3 Update file weapongenerator.lua 2023-08-30 19:19:23 +00:00

View File

@@ -7,7 +7,7 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
local fireDelay = rand:getFloat(1.5, 2.5)*0.5 local fireDelay = rand:getFloat(1.5, 2.5)*0.5
local reach = rand:getFloat(1100, 1500)*0.7 local reach = rand:getFloat(1100, 1500)*0.7
local damage = dps * fireDelay local damage = dps * fireDelay
local speed = rand:getFloat(300, 400)*2 local speed = rand:getFloat(300, 400)*4
local existingTime = (reach / speed)*1.2 local existingTime = (reach / speed)*1.2
weapon.fireDelay = fireDelay weapon.fireDelay = fireDelay