mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-02-27 16:20:20 +01:00
Balance the mummy mobs
- Reduce by 2 points the armor - Reduce by 5 the spawn rate - Increase the papyrus loots - Increase the damages taken by lava and light
This commit is contained in:
parent
67dcb3f25f
commit
027240d620
@ -3,12 +3,12 @@
|
|||||||
mobs:register_mob("tsm_pyramids:mummy", {
|
mobs:register_mob("tsm_pyramids:mummy", {
|
||||||
-- animal, monster, npc, barbarian
|
-- animal, monster, npc, barbarian
|
||||||
type = "monster",
|
type = "monster",
|
||||||
-- aggressive, deals 5 damage to player when hit
|
-- aggressive, deals 4 damage to player when hit
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
damage = 5,
|
damage = 4,
|
||||||
-- health & armor
|
-- health & armor
|
||||||
hp_min = 15, hp_max = 20, armor = 80,
|
hp_min = 15, hp_max = 20, armor = 100,
|
||||||
-- textures and model
|
-- textures and model
|
||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
@ -25,8 +25,8 @@ mobs:register_mob("tsm_pyramids:mummy", {
|
|||||||
random = "mummy",
|
random = "mummy",
|
||||||
},
|
},
|
||||||
-- speed and jump, sinks in water
|
-- speed and jump, sinks in water
|
||||||
walk_velocity = 0.5, -- A tester si assez lent / trop lent, valeur actuel = moitié moins que les Tree Monster
|
walk_velocity = 0.4,
|
||||||
run_velocity = 1,
|
run_velocity = 0.8,
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
jump = false,
|
jump = false,
|
||||||
floats = 0,
|
floats = 0,
|
||||||
@ -34,14 +34,14 @@ mobs:register_mob("tsm_pyramids:mummy", {
|
|||||||
-- drops papyrus when dead
|
-- drops papyrus when dead
|
||||||
drops = {
|
drops = {
|
||||||
{name = "default:papyrus",
|
{name = "default:papyrus",
|
||||||
chance = 1, min = 3, max = 5,},
|
chance = 2, min = 4, max = 6,},
|
||||||
{name = "maptools:silver_coin",
|
{name = "maptools:silver_coin",
|
||||||
chance = 10, min = 1, max = 1,},
|
chance = 10, min = 1, max = 1,},
|
||||||
},
|
},
|
||||||
-- damaged by
|
-- damaged by
|
||||||
water_damage = 0,
|
water_damage = 0,
|
||||||
lava_damage = 5,
|
lava_damage = 15,
|
||||||
light_damage = 10,
|
light_damage = 15,
|
||||||
-- model animation
|
-- model animation
|
||||||
animation = {
|
animation = {
|
||||||
speed_normal = 15, speed_run = 15,
|
speed_normal = 15, speed_run = 15,
|
||||||
@ -60,7 +60,7 @@ mobs:register_mob("tsm_pyramids:mummy", {
|
|||||||
if not minetest.setting_getbool("only_peaceful_mobs") then
|
if not minetest.setting_getbool("only_peaceful_mobs") then
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"tsm_pyramids:spawner_mummy"},
|
nodenames = {"tsm_pyramids:spawner_mummy"},
|
||||||
interval = 2.0,
|
interval = 10.0,
|
||||||
chance = 20,
|
chance = 20,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
local player_near = false
|
local player_near = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user