Skip to content

Commit

Permalink
Revert the reclaim rate changes (#6323)
Browse files Browse the repository at this point in the history
As requested by the balance team.
  • Loading branch information
Garanas authored Jul 5, 2024
1 parent f3577f9 commit 28a7b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/sim/Prop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Prop = Class(moho.prop_methods) {
local maxMass = self.MaxMassReclaim or 0
local maxEnergy = self.MaxEnergyReclaim or 0
local timeReclaim = self.TimeReclaim or 0
local maxValue = maxMass * 5
local maxValue = maxMass
if maxEnergy > maxValue then
maxValue = maxEnergy
end
Expand Down
2 changes: 1 addition & 1 deletion lua/sim/Unit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ Unit = ClassUnit(moho.unit_methods, IntelComponent, VeterancyComponent) {
time = time * overkillMultiplier

-- Now we adjust the global multiplier. This is used for balance purposes to adjust global reclaim rate.
local time = time / 2
local time = time * 2

local prop = Wreckage.CreateWreckage(bp, pos, self:GetOrientation(), mass, energy, time, self.DeathHitBox)

Expand Down

0 comments on commit 28a7b7a

Please sign in to comment.