mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-22 17:00:26 +01:00
tweaked tool damage for sand, stone and tree monsters
This commit is contained in:
parent
eeb6a8e138
commit
86e5f4ed09
@ -78,6 +78,14 @@ mobs:register_mob("mobs_monster:sand_monster", {
|
|||||||
punch_start = 74,
|
punch_start = 74,
|
||||||
punch_end = 105,
|
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)
|
custom_attack = function(self, p)
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
|
@ -51,6 +51,14 @@ mobs:register_mob("mobs_monster:stone_monster", {
|
|||||||
punch_start = 40,
|
punch_start = 40,
|
||||||
punch_end = 63,
|
punch_end = 63,
|
||||||
},
|
},
|
||||||
|
immune_to = {
|
||||||
|
{"default:pick_wood", 0}, -- wooden pick doesnt hurt stone monster
|
||||||
|
{"default:pick_stone", 4}, -- picks deal more damage to stone monster
|
||||||
|
{"default:pick_bronze", 5},
|
||||||
|
{"default:pick_steel", 5},
|
||||||
|
{"default:pick_mese", 6},
|
||||||
|
{"default:pick_diamond", 7},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,11 +41,17 @@ mobs:register_mob("mobs_monster:tree_monster", {
|
|||||||
lava_damage = 0,
|
lava_damage = 0,
|
||||||
light_damage = 2,
|
light_damage = 2,
|
||||||
fall_damage = 0,
|
fall_damage = 0,
|
||||||
-- immune_to = {
|
immune_to = {
|
||||||
-- {"default:axe_diamond", 5},
|
{"default:axe_wood", 0}, -- wooden axe doesnt hurt wooden monster
|
||||||
-- {"default:sapling", -5}, -- saplings heal
|
{"default:axe_stone", 4}, -- axes deal more damage to tree monster
|
||||||
-- {"all", 0},
|
{"default:axe_bronze", 5},
|
||||||
-- },
|
{"default:axe_steel", 5},
|
||||||
|
{"default:axe_mese", 7},
|
||||||
|
{"default:axe_diamond", 9},
|
||||||
|
{"default:sapling", -5}, -- default and jungle saplings heal
|
||||||
|
{"default:junglesapling", -5},
|
||||||
|
-- {"all", 0}, -- only weapons on list deal damage
|
||||||
|
},
|
||||||
animation = {
|
animation = {
|
||||||
speed_normal = 15,
|
speed_normal = 15,
|
||||||
speed_run = 15,
|
speed_run = 15,
|
||||||
|
Loading…
Reference in New Issue
Block a user