1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-09 20:00:19 +02:00

tweaked tool damage for sand, stone and tree monsters

This commit is contained in:
TenPlus1
2019-02-11 09:27:22 +00:00
parent eeb6a8e138
commit 86e5f4ed09
3 changed files with 27 additions and 5 deletions

View File

@ -78,6 +78,14 @@ mobs:register_mob("mobs_monster:sand_monster", {
punch_start = 74,
punch_end = 105,
},
immune_to = {
{"default:shovel_wood", 3}, -- shovels deal more damage to sand monster
{"default:shovel_stone", 3},
{"default:shovel_bronze", 4},
{"default:shovel_steel", 4},
{"default:shovel_mese", 5},
{"default:shovel_diamond", 7},
},
--[[
custom_attack = function(self, p)
local pos = self.object:get_pos()