summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua
diff options
context:
space:
mode:
authordploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 05:50:32 +0000
committerdploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 05:50:32 +0000
commita100526068cab544088a9a8d25ff5c3318a0589a (patch)
tree1dfb13ef19690f2ec437106b6cec14cd828c5ab9 /crawl-ref/source/dat/clua
parentffb761770ca9ea9d1254e5dafca3edac8e4eec07 (diff)
downloadcrawl-ref-a100526068cab544088a9a8d25ff5c3318a0589a.tar.gz
crawl-ref-a100526068cab544088a9a8d25ff5c3318a0589a.zip
Fixed (and higher) chances for portals to Ziggurats.
No more Ziggurats in Zot, but much better chances in Pan. Faster monster generation per depth in Ziggurats. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8679 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/clua')
-rw-r--r--crawl-ref/source/dat/clua/ziggurat.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/dat/clua/ziggurat.lua b/crawl-ref/source/dat/clua/ziggurat.lua
index d25e194ce1..9e84287b07 100644
--- a/crawl-ref/source/dat/clua/ziggurat.lua
+++ b/crawl-ref/source/dat/clua/ziggurat.lua
@@ -90,7 +90,7 @@ end
function ziggurat_portal(e)
local d = crawl.roll_dice
local entry_fee =
- 10 * math.floor(100 + d(3,200) / 3 + d(10) * d(10) * d(10))
+ 10 * math.floor(200 + d(3,200) / 3 + d(10) * d(10) * d(10))
local function stair()
return toll_stair {
@@ -340,7 +340,8 @@ local dgn_passable = dgn.passable_excluding("closed_door")
local function ziggurat_create_monsters(p, mfn)
local depth = zig_depth()
- local hd_pool = depth * (depth + 8)
+ local hd_pool = depth * (depth + 8) + depth*depth*depth
+-- (was depth * (depth + 8) before and too easy)
local nth = 1