From 3219115e22de903dd8795fc40e101d6c05ab3291 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 20 Mar 2009 11:53:32 +0000 Subject: * Change size restrictions for banded, splint, plate and crystal plate mail to [SIZE_SMALL, SIZE_MEDIUM] like for the other mails. (Fixes 2695530.) * There's a 50% chance of Xom being amused about former playthings dying. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9522 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/xom.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/xom.cc') diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 9f86c9368a..3d06a03eba 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -2182,6 +2182,8 @@ void xom_check_destroyed_item(const item_def& item, int cause) void xom_death_message() { - if (you.religion == GOD_XOM) - god_speaks(GOD_XOM, _get_xom_speech("laughter").c_str()); + if (you.religion != GOD_XOM && (!you.worshipped[GOD_XOM] || coinflip())) + return; + + god_speaks(GOD_XOM, _get_xom_speech("laughter").c_str()); } -- cgit v1.2.3-54-g00ecf