summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-03 23:07:39 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-03 23:07:39 +0000
commite2f74e90f41b7324f8b4e2fa880a1b32df131e68 (patch)
treeebb134a1b3a81e8c8c80b895f326a5050a75bf00 /crawl-ref/source/files.cc
parent5c0a7e21f8aed760fde406bba577b696ad7f8e8a (diff)
downloadcrawl-ref-e2f74e90f41b7324f8b4e2fa880a1b32df131e68.tar.gz
crawl-ref-e2f74e90f41b7324f8b4e2fa880a1b32df131e68.zip
More tweaks of Zin:
1. Let sanctuaries shrink during the last few turns rather than suddently disappear when it times out. 2. Introduce donations (and remove item sacrifice) I suppose abilities will now have to become more expensive pietywise. I raised the piety cost of the sanctuary from 10 to 15, but that probably won't be enough. For the piety gain I introduced a new duration, DUR_PIETY_POOL that is filled with gold/200 * log(gold) upon donation and then leaks with 5% chance per turn one piety point into the actual piety. All numbers are open for discussion and change. Breaks saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3181 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index e02c1b9cea..6af6196a0c 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -937,7 +937,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
}
}
- you.prev_targ = MHITNOT;
+ you.prev_targ = MHITNOT;
you.prev_grd_targ = coord_def(0, 0);
// We clear twice - on save and on load.
@@ -977,8 +977,8 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
load_ghost();
}
env.turns_on_level = 0;
- env.sanctuary_x = -1;
- env.sanctuary_y = -1;
+ // sanctuary
+ env.sanctuary_pos = coord_def(-1, -1);
env.sanctuary_time = 0;
}
else