diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-14 23:46:16 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-14 23:46:16 +0000 |
commit | f89c4cc97945de00160e20de8eab29a5f491674e (patch) | |
tree | a1daa5121946b4e5a6af7bff961d0b8baca89989 /crawl-ref/source/spells3.cc | |
parent | bcfa65c5edfa99bbeceb9a423d4a32f85c8a5776 (diff) | |
download | crawl-ref-f89c4cc97945de00160e20de8eab29a5f491674e.tar.gz crawl-ref-f89c4cc97945de00160e20de8eab29a5f491674e.zip |
Tomb rebalancing.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2461 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index ab408d09bd..f35ae60e35 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -666,6 +666,10 @@ void you_teleport_now( bool allow_control, bool new_abyss_area ) bool entomb(int powc) { + // power guidelines: + // powc is roughly 50 at Evoc 10 with no godly assistance, ranging + // up to 300 or so with godly assistance or end-level, and 1200 + // as more or less the theoretical maximum. int number_built = 0; const dungeon_feature_type safe_to_overwrite[] = { @@ -675,10 +679,10 @@ bool entomb(int powc) DNGN_FLOOR_SPECIAL }; - if ( powc > 95 ) - powc = 95; - if ( powc < 25 ) - powc = 25; + if ( powc > 98 ) + powc = 98; + if ( powc < 30 ) + powc = 30; for (int srx = you.x_pos - 1; srx < you.x_pos + 2; srx++) { @@ -691,7 +695,7 @@ bool entomb(int powc) continue; } - if ( random2(100) > powc ) + if ( one_chance_in(powc/5) ) continue; bool proceed = false; |