Skip to content
Snippets Groups Projects
Commit d8b87935 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3544 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7b4dc1d3
No related branches found
No related tags found
No related merge requests found
......@@ -439,6 +439,8 @@ function _M:spawnWorldAmbush(enc, dx, dy)
width = enc.width or 20, height = enc.height or 20,
all_lited = true,
ambient_music = "last",
max_material_level = util.bound(math.ceil(game.player.level / 10), 1, 5),
min_material_level = util.bound(math.ceil(game.player.level / 10), 1, 5) - 1,
generator = {
map = gen,
actor = { class = "engine.generator.actor.Random", nb_npc = enc.nb or {1,1}, filters=enc.filters },
......
game/modules/tome/data/gfx/shockbolt/npc/humanoid_human_human_citizen.png

5.91 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment