diff options
author | number Zero <silverunicorn2011@yandex.ru> | 2016-04-10 17:51:32 +0300 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2017-02-25 20:55:15 -0500 |
commit | 51be33deea1c6ed942f18ba4f02580540541d2c9 (patch) | |
tree | ee2063eea3b0391e0d13ef322b0348b62e18251c | |
parent | 1810f417d2028f84dbed31038edf674cbfc50e1c (diff) |
Restored weak shielding
-rw-r--r-- | technic/radiation.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/radiation.lua b/technic/radiation.lua index 033f4a8..6ce8ecd 100644 --- a/technic/radiation.lua +++ b/technic/radiation.lua @@ -264,7 +264,7 @@ local function calculate_base_damage(node_pos, object_pos, strength) for ray_pos in technic.trace_node_ray(node_pos, vector.direction(node_pos, object_pos), dist) do local shield_name = minetest.get_node(ray_pos).name - shielding = shielding + node_radiation_resistance(shield_name) * 0.1 + shielding = shielding + node_radiation_resistance(shield_name) * 0.025 end local dmg = (strength * strength) / |