Update 2 files
- /data/scripts/lib/turretgenerator.lua - /data/scripts/lib/weapongenerator.lua
This commit is contained in:
@@ -4,7 +4,7 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
|
||||
weapon:setProjectile()
|
||||
|
||||
dps = dps * 0.9
|
||||
local fireDelay = rand:getFloat(1.5, 2.5)*0.5
|
||||
local fireDelay = rand:getFloat(0.6, 1)
|
||||
local reach = rand:getFloat(1100, 1500)*0.7
|
||||
local damage = dps * fireDelay
|
||||
local speed = rand:getFloat(300, 400)*4
|
||||
@@ -225,7 +225,7 @@ function WeaponGenerator.generateHiveLauncher(rand, dps, tech, material, rarity)
|
||||
weapon.psize = rand:getFloat(0.2, 0.4)
|
||||
weapon.pmaximumTime = existingTime
|
||||
weapon.pvelocity = speed
|
||||
weapon.pcolor = ColorHSV(rand:getFloat(20, 40), 0.8, rand:getFloat(0.25, 0.75))
|
||||
weapon.pcolor = ColorHSV(rand:getFloat(10, 60), 0.8, rand:getFloat(0.25, 0.75))
|
||||
weapon.pshape = ProjectileShape.Rocket
|
||||
|
||||
if rand:test(1) then
|
||||
|
||||
Reference in New Issue
Block a user