Nerf armor slightly
This commit is contained in:
parent
47e6eb6565
commit
01d74fd21e
@ -214,8 +214,8 @@ minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch,
|
||||
dir.y = 7
|
||||
end
|
||||
|
||||
local hp_modifier = math.ceil(calculate_armor_absorbtion(player)/2)
|
||||
print(hurt)
|
||||
local hp_modifier = math.ceil(calculate_armor_absorbtion(player)/3)
|
||||
--print("hp_modifier:",hp_modifier)
|
||||
damage_armor(player,math.abs(hurt))
|
||||
hurt = hurt - hp_modifier
|
||||
if hurt <= 0 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user