diff options
-rw-r--r-- | crawl-ref/source/acr.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/decks.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/religion.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index fdbd08193e..9f80d6db9a 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -915,7 +915,7 @@ static void _handle_wizard_command( void ) break; case 'X': - xom_acts(abs(you.piety - 100)); + xom_acts(abs(you.piety - (MAX_PIETY / 2))); break; case 'z': diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index b3cb6a3e39..89109dd018 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -2822,7 +2822,7 @@ bool card_effect(card_type which_card, deck_rarity_type rarity, if (you.religion == GOD_XOM && !rc) { god_speaks(GOD_XOM, "\"How boring, let's spice things up a little.\""); - xom_acts(abs(you.piety - 100)); + xom_acts(abs(you.piety - (MAX_PIETY / 2))); } if (you.religion == GOD_NEMELEX_XOBEH && !rc) diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index bdc163c698..a4afc3e52e 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3794,7 +3794,7 @@ void divine_retribution( god_type god ) switch (god) { // One in ten chance that Xom might do something good... - case GOD_XOM: xom_acts(one_chance_in(10), abs(you.piety - 100)); break; + case GOD_XOM: xom_acts(one_chance_in(10), abs(you.piety - (MAX_PIETY / 2))); break; case GOD_SHINING_ONE: do_more = _tso_retribution(); break; case GOD_ZIN: do_more = _zin_retribution(); break; case GOD_MAKHLEB: do_more = _makhleb_retribution(); break; @@ -4453,7 +4453,7 @@ void excommunication(god_type new_god) switch (old_god) { case GOD_XOM: - xom_acts(false, abs(you.piety - 100) * 2); + xom_acts(false, abs(you.piety - (MAX_PIETY / 2)) * 2); _inc_penance( old_god, 50 ); break; |