1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-26 17:50:28 +01:00

Small Mese Dragon fixes

This commit is contained in:
BUISSON-DEBON Quentin 2016-07-17 23:26:56 +02:00
parent 09ed9098e7
commit a3124f49b2
No known key found for this signature in database
GPG Key ID: 636727CF15AB868F

View File

@ -82,20 +82,20 @@ mobs:register_arrow("mobs:mese_dragon_fireball", {
visual = "sprite", visual = "sprite",
visual_size = {x = 1, y = 1}, visual_size = {x = 1, y = 1},
textures = {"mobs_mese_dragon_fireball.png"}, textures = {"mobs_mese_dragon_fireball.png"},
velocity = 8, velocity = 10,
-- direct hit, no fire... just plenty of pain -- direct hit, no fire... just plenty of pain
hit_player = function(self, player) hit_player = function(self, player)
player:punch(self.object, 2.0, { -- Modif MFF player:punch(self.object, 2.0, { -- Modif MFF
full_punch_interval = 2.0, -- Modif MFF full_punch_interval = 2.0, -- Modif MFF
damage_groups = {fleshy = 13}, -- Modif MFF damage_groups = {fleshy = 13}, -- Modif MFF
}, nil) }, nil)
end, end,
hit_mob = function(self, player) hit_mob = function(self, player)
player:punch(self.object, 2.0, { -- Modif MFF player:punch(self.object, 2.0, { -- Modif MFF
full_punch_interval = 2.0, -- Modif MFF full_punch_interval = 2.0, -- Modif MFF
damage_groups = {fleshy = 13}, -- Modif MFF damage_groups = {fleshy = 13}, -- Modif MFF
}, nil) }, nil)
end, end,
@ -111,7 +111,7 @@ minetest.register_node("mobs:mese_dragon_spawner", {
is_ground_content = false, is_ground_content = false,
groups = {unbreakable = 1, mob_spawner=1}, groups = {unbreakable = 1, mob_spawner=1},
sounds = default.node_sound_stone_defaults({ sounds = default.node_sound_stone_defaults({
dug = {name="mobs_boom", gain=0.25} -- to be changed dug = {name="mobs_boom", gain=0.25}
}) })
}) })