mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2025-06-28 06:20:33 +02:00
Move shields level reduction to shields mod
This commit is contained in:
@ -2,6 +2,8 @@ local use_moreores = minetest.get_modpath("moreores")
|
||||
|
||||
if minetest.global_exists("armor") and armor.elements then
|
||||
table.insert(armor.elements, "shield")
|
||||
local mult = armor.config.level_multiplier or 1
|
||||
armor.config.level_multiplier = mult * 0.9
|
||||
end
|
||||
|
||||
-- Regisiter Shields
|
||||
|
Reference in New Issue
Block a user