mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-13 05:50:41 +01:00
Merge branch 'radiation-group' of https://github.com/coil0/technic into pandorabox
This commit is contained in:
commit
372bbea9c0
|
@ -294,6 +294,8 @@ local function calculate_damage_multiplier(object)
|
|||
end
|
||||
if ag.radiation then
|
||||
return 0.01 * ag.radiation
|
||||
elseif armor_enabled then
|
||||
return 0
|
||||
end
|
||||
if ag.fleshy then
|
||||
return math.sqrt(0.01 * ag.fleshy)
|
||||
|
|
Loading…
Reference in New Issue
Block a user