Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
Balance the mummy mobs
Browse files Browse the repository at this point in the history
- Reduce by 2 points the armor
- Reduce by 5 the spawn rate
- Increase the papyrus loots
- Increase the damages taken by lava and light
  • Loading branch information
Darcidride authored Jan 30, 2017
1 parent 67dcb3f commit 027240d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions mods/tsm_pyramids/mummy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
mobs:register_mob("tsm_pyramids:mummy", {
-- animal, monster, npc, barbarian
type = "monster",
-- aggressive, deals 5 damage to player when hit
-- aggressive, deals 4 damage to player when hit
passive = false,
attack_type = "dogfight",
damage = 5,
damage = 4,
-- health & armor
hp_min = 15, hp_max = 20, armor = 80,
hp_min = 15, hp_max = 20, armor = 100,
-- textures and model
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
visual = "mesh",
Expand All @@ -25,23 +25,23 @@ mobs:register_mob("tsm_pyramids:mummy", {
random = "mummy",
},
-- 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
run_velocity = 1,
walk_velocity = 0.4,
run_velocity = 0.8,
view_range = 16,
jump = false,
floats = 0,
knock_back = 0.1, --this is a test
-- drops papyrus when dead
drops = {
{name = "default:papyrus",
chance = 1, min = 3, max = 5,},
chance = 2, min = 4, max = 6,},
{name = "maptools:silver_coin",
chance = 10, min = 1, max = 1,},
},
-- damaged by
water_damage = 0,
lava_damage = 5,
light_damage = 10,
lava_damage = 15,
light_damage = 15,
-- model animation
animation = {
speed_normal = 15, speed_run = 15,
Expand All @@ -60,7 +60,7 @@ mobs:register_mob("tsm_pyramids:mummy", {
if not minetest.setting_getbool("only_peaceful_mobs") then
minetest.register_abm({
nodenames = {"tsm_pyramids:spawner_mummy"},
interval = 2.0,
interval = 10.0,
chance = 20,
action = function(pos, node, active_object_count, active_object_count_wider)
local player_near = false
Expand Down

0 comments on commit 027240d

Please sign in to comment.