Skip to content

Commit

Permalink
Merge pull request #425 from Michiel1973/dev
Browse files Browse the repository at this point in the history
tune skeleton and general monster spawn
  • Loading branch information
Michiel1973 authored May 25, 2020
2 parents 5e97b19 + 6c791a7 commit 541e248
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions mods/mobs_monster/skeleton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ local skeleton = {
},
walk_velocity = 1.2,
run_velocity = 2.4,
damage = 22,
damage = 24,
glow = 1,
reach = 3,
-- drops = {
Expand Down Expand Up @@ -83,10 +83,11 @@ local skeleton = {
fear_height = 4,
attack_type = "dogshoot",
arrow = "mobs_monster:arrow_entity",
shoot_interval = 2.5,
shoot_interval = 1.8,
shoot_offset = 1,
dogshoot_switch = 1,
dogshoot_count_max =1.8,
dogshoot_count_max =10,
dogshoot_count2_max = 3,
blood_amount = 0,
}

Expand Down
10 changes: 5 additions & 5 deletions mods/mobs_monster/zzzspawn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,29 @@ mobs:spawn_specific ("mobs_monster:dungeon_master", {"caverealms:hot_cobble", "c
-- you get a break here

-- DF level 2 -12032 to -14032
mobs:spawn_specific ("mobs_monster:slime_big", {"df_mapitems:dirt_with_cave_moss", "df_trees:goblin_cap"}, "air", 0, 10, 60, 100, 2, -14032, -12032)
mobs:spawn_specific ("mobs_monster:slime_big", {"df_mapitems:dirt_with_cave_moss", "df_trees:goblin_cap"}, "air", 0, 10, 40, 100, 2, -14032, -12032)

-- DF level 3 -14032 to 15072

mobs:spawn_specific("mobs_monster:mothman", "df_trees:black_cap", "air", 0, 12, 30, 300, 3, -15072, -14032)

mobs:spawn_specific("mobs_monster:creeper", "df_mapitems:cobble_with_floor_fungus", "air", 0, 12, 90, 300, 2, -15072, -14032)
mobs:spawn_specific("mobs_monster:creeper", "df_mapitems:cobble_with_floor_fungus", "air", 0, 12, 40, 300, 2, -15072, -14032)


-- Sunless Sea -15072 to -16000 - break point (no monsters)

-- Lava Sea -17000 to -18000

mobs:spawn_specific ("mobs_monster:lava_flan", {"default:lava_source", "default:lava_flowing"}, "air", 0, 13, 60, 100, 4, -18000, -16900)
mobs:spawn_specific ("mobs_monster:lava_flan", {"default:lava_source", "default:lava_flowing"}, "air", 0, 13, 40, 100, 4, -18000, -16900)

-- Underworld -18000 to -19073

mobs:spawn_specific("mobs_monster:skeleton", "df_underworld_items:slade", "air", 0, 7, 90, 1000, 2, -19073, -17500)
mobs:spawn_specific("mobs_monster:skeleton", "df_underworld_items:slade", "air", 0, 7, 60, 1000, 3, -19073, -17500)

-- Primordial -19073 to -22032 - break point (no monsters)

-- Nether
mobs:spawn_specific ("mobs_monster:oerkki", "nether:rack", "air", 0, 14, 60, 500, 4, -30900, -25100)
mobs:spawn_specific ("mobs_monster:oerkki", "nether:rack", "air", 0, 14, 40, 500, 4, -30900, -25100)



Expand Down
4 changes: 2 additions & 2 deletions mods/mobs_monster/zzzthrowing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
for k, obj in pairs(objs) do
if obj:get_luaentity() ~= nil then
if obj:get_luaentity().name ~= "mobs_monster:arrow_entity" and obj:get_luaentity().name ~= "__builtin:item" then
local damage = 13
local damage = 15
minetest.sound_play("damage", {pos = pos})
obj:punch(self.object, 1.0, {
full_punch_interval=1.0,
Expand All @@ -79,7 +79,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
self.object:remove()
end
else
local damage = 13
local damage = 15
minetest.sound_play("damage", {pos = pos})
obj:punch(self.object, 1.0, {
full_punch_interval=1.0,
Expand Down

0 comments on commit 541e248

Please sign in to comment.