Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b137aec60a |
@@ -16,7 +16,7 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
|
||||
weapon.seeker = 1
|
||||
weapon.appearance = WeaponAppearance.Cannon
|
||||
weapon.name = "SmartCannon /* Weapon Name*/"%_t
|
||||
weapon.prefix = "SmartCannon /* Weapon Prefix*/"%_t
|
||||
-- weapon.prefix = "SmartCannon /* Weapon Prefix*/"%_t
|
||||
weapon.icon = "data/textures/icons/autocannon.png"
|
||||
weapon.sound = "cannon"
|
||||
weapon.accuracy = 0.99 - rand:getFloat(0, 0.03)
|
||||
@@ -30,7 +30,7 @@ function WeaponGenerator.generateSmartCannon(rand, dps, tech, material, rarity)
|
||||
|
||||
local specType = rand:getInt(0, 1)
|
||||
if specType > 0 then
|
||||
weapon.prefix = "Ionized SmartCannon /* Weapon Prefix*/"%_t
|
||||
weapon.prefix = "Ionized /* Weapon Prefix*/"%_t
|
||||
weapon.shieldPenetration = 1
|
||||
else
|
||||
weapon.prefix = "SmartCannon /* Weapon Prefix*/"%_t
|
||||
@@ -89,7 +89,7 @@ function WeaponGenerator.generateHeavyCannon(rand, dps, tech, material, rarity)
|
||||
local Pen = rand:getInt(0, rarity.value)
|
||||
if Pen > 0 then
|
||||
weapon.blockPenetration = Pen
|
||||
weapon.prefix = "Cumulative Heavy Cannon /* Weapon Prefix*/"%_t
|
||||
weapon.prefix = "Cumulative/* Weapon Prefix*/"%_t
|
||||
else
|
||||
weapon.prefix = "Heavy Cannon /* Weapon Prefix*/"%_t
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user