Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
863e00a5d0 | ||
|
|
f258093ca3 |
@@ -3,11 +3,11 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
|
||||
local weapon = Weapon()
|
||||
weapon:setProjectile()
|
||||
|
||||
dps = dps * 0.75
|
||||
dps = dps * 0.9
|
||||
local fireDelay = rand:getFloat(1.5, 2.5)*0.5
|
||||
local reach = rand:getFloat(1100, 1500)*0.7
|
||||
local damage = dps * fireDelay
|
||||
local speed = rand:getFloat(300, 400)*2
|
||||
local speed = rand:getFloat(300, 400)*4
|
||||
local existingTime = (reach / speed)*1.2
|
||||
|
||||
weapon.fireDelay = fireDelay
|
||||
|
||||
Reference in New Issue
Block a user