diff options
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 480730e6f9..d774db49e2 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -22,6 +22,7 @@ #include "branch.h" #include "cloud.h" #include "coordit.h" +#include "database.h" #include "directn.h" #include "debug.h" #include "delay.h" @@ -588,11 +589,12 @@ bool cast_shadow_creatures(god_type god) bool cast_summon_horrible_things(int pow, god_type god) { - if (one_chance_in(3) - && !lose_stat(STAT_INTELLIGENCE, 1, true, "summoning horrible things")) + if (one_chance_in(3)) { - canned_msg(MSG_NOTHING_HAPPENS); - return (false); + // if someone deletes the db, no message is ok + mpr(getMiscString("SHT_int_loss").c_str()); + lose_stat(STAT_INTELLIGENCE, 1, true, "summoning horrible things"); + // Since sustAbil no longer helps here, this can't fail anymore -- 1KB } int how_many_small = |