Skip to content

Commit

Permalink
change how armor break gp is handled
Browse files Browse the repository at this point in the history
it's now universally .3s (except normal where it will be .4s) on all difficulties
instead of having .2s added on top of the already existing timer
  • Loading branch information
nikitawastaken committed Dec 12, 2023
1 parent 43f79d1 commit b0eac2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/playerdamage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function PlayerDamage:_calc_armor_damage(attack_data)
end

-- Add significantly longer grace period on armor break (repurposing Anarchist/Armorer damage timer) (sh)
self._can_take_dmg_timer = self._dmg_interval + 0.2
self._can_take_dmg_timer = math.max(self._dmg_interval, 0.3)

local pm = managers.player

Expand Down

0 comments on commit b0eac2f

Please sign in to comment.