mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
bugfix DM damage
tweak the fleshy not the damage= variable !
This commit is contained in:
parent
f2bd222432
commit
792278400b
@ -32,6 +32,10 @@ mobs:register_mob("mobs:dungeon_master", {
|
|||||||
chance = 30,
|
chance = 30,
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 1,},
|
max = 1,},
|
||||||
|
{name = "maptools:gold_coin",
|
||||||
|
chance = 15,
|
||||||
|
min = 1,
|
||||||
|
max = 2,},
|
||||||
{name = "maptools:silver_coin",
|
{name = "maptools:silver_coin",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 2,
|
min = 2,
|
||||||
@ -80,7 +84,7 @@ mobs:register_arrow("mobs:fireball", {
|
|||||||
local p = player:getpos()
|
local p = player:getpos()
|
||||||
player:punch(self.object, 1.0, {
|
player:punch(self.object, 1.0, {
|
||||||
full_punch_interval=1.0,
|
full_punch_interval=1.0,
|
||||||
damage_groups = {fleshy=8},
|
damage_groups = {fleshy=13},
|
||||||
}, 0) -- {x=s.x-p.x, y=s.y-p.y, z=s.z-p.z})
|
}, 0) -- {x=s.x-p.x, y=s.y-p.y, z=s.z-p.z})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user