diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-13 20:40:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-13 20:40:39 +0000 |
commit | 9fecb788095cc5315ef5f1485e0b736563a21460 (patch) | |
tree | 4dd717741b428607d8b91ce4a5dd05044c2e0d2f /crawl-ref/source/xom.h | |
parent | cab797009b47f77520b8db9f8b427ba9ea14f63c (diff) | |
download | crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.tar.gz crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.zip |
* Add stair repelling as a bad Xom effect.
* Experimentally make tension increase the odds for good effects.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9600 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.h')
-rw-r--r-- | crawl-ref/source/xom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.h b/crawl-ref/source/xom.h index cd1c0a67bb..e17f242d68 100644 --- a/crawl-ref/source/xom.h +++ b/crawl-ref/source/xom.h @@ -26,13 +26,13 @@ void xom_is_stimulated(int maxinterestingness, bool force_message = false); void xom_is_stimulated(int maxinterestingness, const std::string& message, bool force_message = false); -bool xom_is_nice(); +bool xom_is_nice(int tension = -1); void xom_acts(bool niceness, int sever, int tension = -1); const char *describe_xom_favour(bool upper = false); inline void xom_acts(int sever, int tension = -1) { - xom_acts(xom_is_nice(), sever, tension); + xom_acts(xom_is_nice(tension), sever, tension); } void xom_check_lost_item(const item_def& item); |