Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modoptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1546,8 +1546,8 @@ local options = {

{
key = "proposed_unit_reworks",
name = "Proposed Unit Reworks",
desc = "Modoption used to test balance changes that are being considered for the base game.",
name = "Season 3 balance test",
desc = "Test patch for the next season. Nerfs funneling resources into just a single T2 base, by changing some eco stats as well as nerfing units like Tzar and Fatboy. Also a variety of other changes, like an Incisor nerf and a Banshee buff. Full changelist available from newspost.",
type = "bool",
--hidden = true,
section = "options_experimental",
Expand Down
39 changes: 36 additions & 3 deletions unitbasedefs/proposed_unit_reworks_defs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ local function proposed_unit_reworksTweaks(name, uDef)
if name == "armaap" or name == "armalab" or name == "armasy" or name == "armavp"
or name == "coraap" or name == "coralab" or name == "corasy" or name == "coravp"
then
uDef.metalcost = uDef.metalcost - 300
uDef.buildtime = uDef.buildtime * 1.3
uDef.metalcost = uDef.metalcost - 400
uDef.buildtime = uDef.buildtime * 1.5
uDef.workertime = 600
end
if name == "coravp" then --makes corveh same metalcost as other t2 land facs
uDef.metalcost = uDef.metalcost + 100
end

if uDef.canmove and tonumber(uDef.customparams.techlevel) == 2 and uDef.energycost and uDef.metalcost and uDef.buildtime and not (name == "armavp" or name == "coravp" or name == "armalab" or name == "coralab" or name == "armaap" or name == "coraap" or name == "armasy" or name == "corasy" or name == "armfido" or name == "armmav" or name == "armvader" or name == "corroach" )
or uDef.canmove and tonumber(uDef.customparams.techlevel) == 3 and uDef.energycost and uDef.metalcost and uDef.buildtime
Expand Down Expand Up @@ -68,6 +71,7 @@ local function proposed_unit_reworksTweaks(name, uDef)
uDef.metalcost = 3650
uDef.energycost = 22000
uDef.buildtime = 65000
uDef.cloakcost = 75
end

--if name == "armmoho" or name == "armuwmme"
Expand Down Expand Up @@ -120,10 +124,39 @@ local function proposed_unit_reworksTweaks(name, uDef)
uDef.buildtime = 12000
end

if name == "armbats" or name == "corbats" or name == "corcan" then
if name == "armbats" or name == "corbats" or name == "corcan" then
uDef.health = math.ceil(uDef.health * 0.11) * 10
end

if name == "corgator" then
uDef.buildtime = 2300
uDef.energycost = 1100
uDef.speed = 85
uDef.weapondefs.gator_laserx.reloadtime = 0.8
end

if name == "armflash" then
uDef.weapondefs.emgx.weaponvelocity = 600
uDef.weapondefs.emgx.flighttime = 0.4
end
if name == "armpw" then
uDef.weapondefs.emg.weaponvelocity = 600
uDef.weapondefs.emg.flighttime = 0.4
end
if name == "armfav" then
uDef.weapondefs.arm_laser.reloadtime = 1
end
if name == "corfav" then
uDef.weapondefs.cor_laser.reloadtime = 1.1
end
if name == "corlevlr" then
uDef.weapondefs.corlevlr_weapon.flighttime = 0.47
end
if name == "armkam" then
uDef.weapondefs.emg.weaponvelocity = 1000
uDef.weapondefs.emg.areaofeffect = 40
end

return uDef
end

Expand Down
Loading