|
From: <gi...@cr...> - 2013-09-30 01:35:08
|
via 4236123ae6e15c538fb1e9855986d7c035016ff2 (commit)
from a934effbb3be05d964e052492ff03be49d734f40 (commit)
-----------------------------------------------------------------------
commit 4236123ae6e15c538fb1e9855986d7c035016ff2
Author: Neil Moore <ne...@s-...>
Date: Sun Sep 29 21:29:05 2013 -0400
Suppress detection from Boots of the Assassin.
Since the stab enhancement is flavoured as non-magical, allow it to work
even while suppressed.
-----------------------------------------------------------------------
Summary of changes:
crawl-ref/source/main.cc | 2 +-
crawl-ref/source/mutation.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
index 3914a1b..2b1bd96 100644
--- a/crawl-ref/source/main.cc
+++ b/crawl-ref/source/main.cc
@@ -3340,7 +3340,7 @@ static void _player_reacts_to_monsters()
// penance checked there (as you can have antennae too)
if (player_mutation_level(MUT_ANTENNAE)
|| you_worship(GOD_ASHENZARI)
- || player_equip_unrand(UNRAND_BOOTS_ASSASSIN))
+ || player_equip_unrand_effect(UNRAND_BOOTS_ASSASSIN))
{
check_antennae_detect();
}
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index e5a0569..43be9dc 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -2550,7 +2550,7 @@ void check_antennae_detect()
{
int radius = player_mutation_level(MUT_ANTENNAE) * 2;
- if (player_equip_unrand(UNRAND_BOOTS_ASSASSIN))
+ if (player_equip_unrand_effect(UNRAND_BOOTS_ASSASSIN))
radius = max(radius, 4);
if (you_worship(GOD_ASHENZARI) && !player_under_penance())
radius = max(radius, you.piety / 20);
--
Dungeon Crawl Stone Soup
|