Skip to content

Commit

Permalink
Set speed nerfs on upgrades to 5 percent
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbodingAngel committed May 17, 2017
1 parent 6c6eba4 commit ff5b36a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Gamedata/alldefs_post.lua
Expand Up @@ -135,15 +135,15 @@ function UnitDef_Post(name, uDef)
if uDef.customparams and uDef.customparams.isupgraded == "1" then
uDef.maxdamage = uDef.maxdamage * 1.20
uDef.maxvelocity = uDef.maxvelocity * 0.90
uDef.maxvelocity = uDef.maxvelocity * 0.95
end
if uDef.customparams and uDef.customparams.isupgraded == "2" then
uDef.maxdamage = uDef.maxdamage * 1.35
uDef.maxvelocity = uDef.maxvelocity * 0.80
uDef.maxvelocity = uDef.maxvelocity * 0.90
end
if uDef.customparams and uDef.customparams.isupgraded == "3" then
uDef.maxdamage = uDef.maxdamage * 1.50
uDef.maxvelocity = uDef.maxvelocity * 0.70
uDef.maxvelocity = uDef.maxvelocity * 0.85
end
--------------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions LuaRules/Configs/morph_defs.lua
Expand Up @@ -156,7 +156,7 @@ Overseer]],
time = timeToBuild_factory_up1,
cmdname = [[Upgrade]],
metal = metalCost_factory_up1,
text = [[+20% damage/hp buff, +15% faster reload, -10% speed]],
text = [[+20% damage/hp buff, +15% faster reload, -5% speed]],
},
},
ebasefactory_up1 = {
Expand All @@ -165,7 +165,7 @@ Overseer]],
time = timeToBuild_factory_up1,
cmdname = [[Upgrade]],
metal = metalCost_factory_up1,
text = [[+15% damage/hp buff, +15% faster reload, -10% speed]],
text = [[+15% damage/hp buff, +15% faster reload, -5% speed]],
},
},
ebasefactory_up2 = {
Expand All @@ -174,7 +174,7 @@ Overseer]],
time = timeToBuild_factory_up1,
cmdname = [[Upgrade]],
metal = metalCost_factory_up1,
text = [[+15% damage/hp buff, +15% faster reload, -10% speed]],
text = [[+15% damage/hp buff, +15% faster reload, -5% speed]],
},
},

Expand Down

0 comments on commit ff5b36a

Please sign in to comment.