summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-19 22:51:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-20 17:29:36 +0100
commit0cebeb433d68aea197f5ee1d2c38809b71c2e3dd (patch)
tree67cea0b5ab60075666e8ca110c9aa7035bfa0d79 /crawl-ref/source/fight.cc
parent7e4b512c4cf3b6269ddb3748760c8cf050b60b39 (diff)
downloadcrawl-ref-0cebeb433d68aea197f5ee1d2c38809b71c2e3dd.tar.gz
crawl-ref-0cebeb433d68aea197f5ee1d2c38809b71c2e3dd.zip
Iskenderun's Orb of Destruction
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 3c349e283c..dc1410a5a6 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -4306,7 +4306,8 @@ bool melee_attack::mons_attack_mons()
bool melee_attack::mons_self_destructs()
{
if (attacker->id() == MONS_GIANT_SPORE
- || attacker->id() == MONS_BALL_LIGHTNING)
+ || attacker->id() == MONS_BALL_LIGHTNING
+ || attacker->id() == MONS_ORB_OF_DESTRUCTION)
{
attacker_as_monster()->hit_points = -1;
// Do the explosion right now.