From 9fecb788095cc5315ef5f1485e0b736563a21460 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 13 Apr 2009 20:40:39 +0000 Subject: * 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 --- crawl-ref/source/fight.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index f673ba2435..0bbd1a3158 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -66,6 +66,7 @@ REVISION("$Rev$"); #define NOTE_DEBUG_CHAOS_EFFECTS #endif +#define NOTE_DEBUG_CHAOS_EFFECTS #ifdef NOTE_DEBUG_CHAOS_EFFECTS #include "notes.h" #endif @@ -2934,8 +2935,8 @@ int melee_attack::random_chaos_brand() } break; case SPWPN_CONFUSE: - if (defender->holiness() != MH_NONLIVING - && defender->holiness() != MH_PLANT) + if (defender->holiness() == MH_NONLIVING + || defender->holiness() == MH_PLANT) { susceptible = false; } -- cgit v1.2.3-54-g00ecf