summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-04-04 01:22:16 -0230
committerDracoOmega <draco_omega@live.com>2013-05-26 18:58:11 -0230
commit45d14c8255a2284fdfd63e29012f402e07458077 (patch)
treeb5258d255da3f00ea126bc3cd8d1c3d02e53f7a9 /crawl-ref/source/los.cc
parent4633ff2116be2c30a050a04192246eabc0f90bb9 (diff)
downloadcrawl-ref-45d14c8255a2284fdfd63e29012f402e07458077.tar.gz
crawl-ref-45d14c8255a2284fdfd63e29012f402e07458077.zip
Revamp stone of earth elementals
As part of the elemental evoker revamp, the stone of earth elementals is renamed stone of tremors, and given a new effect on an xp-based recharge. When evoked and pressed against an adjacent rock wall, a shockwave will travel along the surface of this wall, curving as the rock does, and damaging creatures standing next to it with falling rubble and (rarely) shafting them. Some walls along the shockwave's path will also be destroyed and from these up to 3 earth elementals will be summoned (dependent on evocations).
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index 42275c3aaf..f36ff193b9 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -895,8 +895,11 @@ void losight(los_grid& sh, const coord_def& center,
opacity_type mons_opacity(const monster* mon, los_type how)
{
// no regard for LOS_ARENA
- if (mons_species(mon->type) == MONS_BUSH && how != LOS_SOLID)
+ if (mons_species(mon->type) == MONS_BUSH
+ && how != LOS_SOLID)
+ {
return OPC_HALF;
+ }
if (mons_is_feat_mimic(mon->type))
{