summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-damage.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-10 19:27:10 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-10 21:38:07 -0600
commitd54608118996fe6861b0eaf66f1d4f0ca039359f (patch)
treea0ecacc9360879f820d73cf5af5d8c7791d04df7 /crawl-ref/source/spl-damage.cc
parent031a9a43fa11401b1d938bf9fa0d47109a02750f (diff)
downloadcrawl-ref-d54608118996fe6861b0eaf66f1d4f0ca039359f.tar.gz
crawl-ref-d54608118996fe6861b0eaf66f1d4f0ca039359f.zip
Revert "Remove silver statues."
Don't worry; the whole point of this set of commits is to fix the problems with them and their companion statues. This partially reverts commit b4c3b502143418fb4fdb3faaa29a2ef6e9eabce5. This reverts commit e1156a91a6a0b1bb26c7e7ee63710c3eefbd2739.
Diffstat (limited to 'crawl-ref/source/spl-damage.cc')
-rw-r--r--crawl-ref/source/spl-damage.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-damage.cc b/crawl-ref/source/spl-damage.cc
index 44981bd583..6c22a90b47 100644
--- a/crawl-ref/source/spl-damage.cc
+++ b/crawl-ref/source/spl-damage.cc
@@ -1096,6 +1096,7 @@ static int _shatter_mon_dice(const monster *mon)
case MONS_IRON_GOLEM:
case MONS_WAR_GARGOYLE:
case MONS_CRYSTAL_GUARDIAN:
+ case MONS_SILVER_STATUE:
case MONS_ORANGE_STATUE:
case MONS_ROXANNE:
return 6;
@@ -2071,12 +2072,18 @@ bool setup_fragmentation_beam(bolt &beam, int pow, const actor *caster,
beam.damage.num = 3;
break;
+ case MONS_SILVER_STATUE:
case MONS_ORANGE_STATUE:
case MONS_CRYSTAL_GUARDIAN:
case MONS_ROXANNE:
beam.ex_size = 2;
beam.damage.num = 4;
- if (mon->type == MONS_ORANGE_STATUE)
+ if (mon->type == MONS_SILVER_STATUE)
+ {
+ beam.name = "blast of silver fragments";
+ beam.colour = WHITE;
+ }
+ else if (mon->type == MONS_ORANGE_STATUE)
{
beam.name = "blast of orange crystal shards";
beam.colour = LIGHTRED;