Move shields level reduction to shields mod

This commit is contained in:
stujones11
2017-03-29 19:13:13 +01:00
부모 3aac5c98f4
커밋 5911447048
2개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제

파일 보기

@@ -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