Skip to content
Snippets Groups Projects
Commit 429922f4 authored by Lisa Greene's avatar Lisa Greene Committed by Otowa Kotori
Browse files

Update vor special vault chances

parent 0f51ee32
No related branches found
No related tags found
No related merge requests found
......@@ -50,10 +50,6 @@ tm:applyOnGroups(rooms, function(room, idx)
-- A spot for subvaults
local event = room:pickSpot("any")
if event then
if rng.percent(20) and not game.state:doneEvent("renegade-pyromancers") then
game.state:doneEvent("renegade-pyromancers",1) -- special vault! can only show once per game and only in vor pride; contains exceptionally difficult foes and exceptional loot
game.level.data.generator.map.greater_vaults_list = {"renegade-pyromancers"}
end
self:addSpot(event, "event-spot", "subvault-place")
room:remove(event)
end
......@@ -71,6 +67,11 @@ tm:applyOnGroups(rooms, function(room, idx)
end
end)
if rng.percent(15) and not game.state:doneEvent("renegade-pyromancers") then
game.state:doneEvent("renegade-pyromancers",1) -- special vault! can only show once per game and only in vor pride; contains exceptionally difficult foes and exceptional loot
game.level.data.generator.map.greater_vaults_list = {"renegade-pyromancers"}
end
-- Complete the map by putting wall in all the remaining blank spaces
tm:fillAll()
-- if tm:eliminateByFloodfill{'#', 'T'} < 400 then return self:regenerate() end
......
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