mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-11-03 21:55:23 +01:00 
			
		
		
		
	Add the regen life and tweak
the durability of the armor
This commit is contained in:
		@@ -3,28 +3,28 @@ if ARMOR_MATERIALS.black_mithril then
 | 
			
		||||
	minetest.register_tool(":3d_armor:helmet_black_mithril_plated_warrior", {
 | 
			
		||||
		description = "Warrior's Black Mithril Plated Helmet",
 | 
			
		||||
		inventory_image = "3d_armor_inv_helmet_black_mithril_plated_warrior.png",
 | 
			
		||||
		groups = {armor_head = 11, armor_heal = 0, armor_use = 250},
 | 
			
		||||
		groups = {armor_head = 11, armor_heal = 1, armor_use = 40},
 | 
			
		||||
		wear = 0,
 | 
			
		||||
	})
 | 
			
		||||
	-- Register chestplates :
 | 
			
		||||
	minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_warrior", {
 | 
			
		||||
		description = "Warrior's Black Mithril Plated Chestplate",
 | 
			
		||||
		inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
 | 
			
		||||
		groups = {armor_torso = 17, armor_heal = 0, armor_use = 250},
 | 
			
		||||
		groups = {armor_torso = 17, armor_heal = 1, armor_use = 40},
 | 
			
		||||
		wear = 0,
 | 
			
		||||
	})
 | 
			
		||||
	-- Register leggings :
 | 
			
		||||
	minetest.register_tool(":3d_armor:leggings_black_mithril_plated_warrior", {
 | 
			
		||||
		description = "Warrior's Black Mithril Plated Leggings",
 | 
			
		||||
		inventory_image = "3d_armor_inv_leggings_black_mithril_plated_warrior.png",
 | 
			
		||||
		groups = {armor_legs = 17, armor_heal = 0, armor_use = 250},
 | 
			
		||||
		groups = {armor_legs = 17, armor_heal = 1, armor_use = 40},
 | 
			
		||||
		wear = 0,
 | 
			
		||||
	})
 | 
			
		||||
	-- Register boots :
 | 
			
		||||
		minetest.register_tool(":3d_armor:boots_black_mithril_plated_warrior", {
 | 
			
		||||
		description = "Warrior's Black Mithril Plated Boots",
 | 
			
		||||
		inventory_image = "3d_armor_inv_boots_black_mithril_plated_warrior.png",
 | 
			
		||||
		groups = {armor_feet = 11, armor_heal = 0, armor_use = 250},
 | 
			
		||||
		groups = {armor_feet = 11, armor_heal = 1, armor_use = 40},
 | 
			
		||||
		wear = 0,
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user