summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-29 16:09:35 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-29 16:09:35 +0000
commitf5d7515c3cd305b003f95ac5c636eb0c529a0b9c (patch)
treeefca9d3347f9806a1088a2a90fd5f3d7ba03e2d9 /crawl-ref/source/beam.h
parent14c07a62dab6301ce6e7613786c584b12be85c80 (diff)
downloadcrawl-ref-f5d7515c3cd305b003f95ac5c636eb0c529a0b9c.tar.gz
crawl-ref-f5d7515c3cd305b003f95ac5c636eb0c529a0b9c.zip
Implement divination miscasts for orange statues, fix silver and orange statues to attack monsters as they attack the player. Also fix clouds not being cleared on level reset in dungeon.cc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8017 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index e88008f4ec..bec6360a0c 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -118,6 +118,7 @@ public:
bool is_enchantment() const; // no block/dodge, use magic resist
void set_target(const dist &targ);
+ void set_agent(actor *agent);
void setup_retrace();
// Returns YOU_KILL or MON_KILL, depending on the source of the beam.
@@ -245,8 +246,8 @@ int mons_adjust_flavoured(monsters *monster, bolt &pbolt, int hurted,
bool doFlavouredEffects = true);
// Return whether the effect was visible.
-bool enchant_monster_with_flavour(monsters* mon, beam_type flavour,
- int powc = 0);
+bool enchant_monster_with_flavour(monsters* mon, actor *atk,
+ beam_type flavour, int powc = 0);
// returns true if messages were generated during the enchantment
bool mass_enchantment( enchant_type wh_enchant, int pow, int who,