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

Perhaps fix wilderness map going bonkers

git-svn-id: http://svn.net-core.org/repos/t-engine4@4362 51575b47-30f0-44d4-a5cc-537603b46e54
parent 69982ca3
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,15 @@ function _M:replaceAll(level)
-- In-place entities edition, now this is becoming tricky, but powerful
for i, jj in pairs(self.edits) do for j, ee in pairs(jj) do
local g = level.map(i, j, Map.TERRAIN)
if g.__nice_tile_base then
local base = g.__nice_tile_base
g = base:clone()
g:removeAllMOs()
g.__nice_tile_base = base
else
g.__nice_tile_base = g:clone()
g.__nice_tile_base:removeAllMOs()
end
local id = {g.name or "???"}
for __, e in ipairs(ee) do
......
......@@ -25,7 +25,7 @@ You have made a deal with such a person and can now create new Rogue characters
Talents:
- #YELLOW#Vile Poisons: #WHITE#Learn new dangerous and terrible poisons to coat your weapons with, infecting your foes
- #YELLOW#Venomous Blow: #WHITE#A terrible strike that deals increased nature damage based on the number of poison effects
- #YELLOW#Venomous Strike: #WHITE#A terrible strike that deals increased nature damage based on the number of poison effects
- #YELLOW#Empower Poisons: #WHITE#Learn to make your poisons even more lethal and fast
- #YELLOW#Toxic Death: #WHITE#Spread the toxic joy to your foe's friends!
]]
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