Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee72127b0a | ||
|
|
29928558d3 | ||
|
|
101d4e1c44 | ||
|
|
314e65c4bc |
@@ -1,6 +1,6 @@
|
||||
|
||||
valueWeights[WeaponType.SmartCannon ] = 1.5
|
||||
valueWeights[WeaponType.HeavyCannon ] = 1.5
|
||||
valueWeights[WeaponType.SmartCannon ] = 1.2
|
||||
valueWeights[WeaponType.HeavyCannon ] = 1
|
||||
valueWeights[WeaponType.Diffuser ] = 2
|
||||
valueWeights[WeaponType.Hookgun ] = 1.5
|
||||
valueWeights[WeaponType.HiveLauncher] = 1.5
|
||||
valueWeights[WeaponType.Hookgun ] = 1
|
||||
valueWeights[WeaponType.HiveLauncher] = 1
|
||||
|
||||
@@ -162,8 +162,6 @@ function TurretGenerator.generateSmartCannonTurret(rand, dps, tech, material, ra
|
||||
|
||||
if specType == 1 then
|
||||
outerAdjective = "Ionized "%_T
|
||||
elseif specType == 2 then
|
||||
outerAdjective = "Plasmed "%_T
|
||||
end
|
||||
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -164,7 +164,6 @@ function WeaponGenerator.generateHookgun(rand, dps, tech, material, rarity)
|
||||
|
||||
weapon.blockPenetration = rand:getInt(0, rarity.value) + 2
|
||||
|
||||
|
||||
weapon.otherForce = -500 * dps * rarity.value
|
||||
|
||||
weapon.damage = damage
|
||||
@@ -184,7 +183,7 @@ function WeaponGenerator.generateHookgun(rand, dps, tech, material, rarity)
|
||||
weapon.bshapeSize = 13
|
||||
|
||||
weapon.bouterColor = ColorHSV(rand:getInt(255, 260), 0,75, rand:getFloat(0.2, 0.25))
|
||||
weapon.binnerColor = ColorHSV(rand:getInt(255, 260), 0,75, rand:getFloat(0.2, 0.25)) -- TODO
|
||||
weapon.binnerColor = ColorHSV(rand:getInt(255, 260), 0,75, rand:getFloat(0, 0.15))
|
||||
|
||||
WeaponGenerator.adaptWeapon(rand, weapon, tech, material, rarity)
|
||||
|
||||
@@ -225,7 +224,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