summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-26 19:49:31 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-26 19:49:31 -0700
commit94ac2d26976af97045da001c4a8a207a0e301dba (patch)
tree792971069ebffa157ade7c70416b93cc02b52452 /crawl-ref/source/xom.h
parentfd4a9a875730ec7591b55a21625a9f91aa637084 (diff)
downloadcrawl-ref-94ac2d26976af97045da001c4a8a207a0e301dba.tar.gz
crawl-ref-94ac2d26976af97045da001c4a8a207a0e301dba.zip
Chaos champions: Rearrange the Pieces.
This is a close analogue of Xom's "rearrange the pieces" effect, only it selects pairs of nearby creatures randomly to swap around rather than swapping you with a nearby target first and then swapping nearby monsters indiscriminately; every nearby creature here is guaranteed to be repositioned (unless there are an odd number of creatures in view, in which case one will be left out). There are also no confusion effects. Chain of Chaos is now unused; it's been suggested it be used for a Xom effect, but I'll leave that to others to figure out.
Diffstat (limited to 'crawl-ref/source/xom.h')
-rw-r--r--crawl-ref/source/xom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/xom.h b/crawl-ref/source/xom.h
index e27b1f1a7e..044ade496e 100644
--- a/crawl-ref/source/xom.h
+++ b/crawl-ref/source/xom.h
@@ -101,6 +101,7 @@ bool xom_saves_your_life(const int dam, const int death_source,
void debug_xom_effects();
#endif
+bool swap_monsters(monster* m1, monster* m2);
bool move_stair(coord_def stair_pos, bool away, bool allow_under);
#endif