From f5d7515c3cd305b003f95ac5c636eb0c529a0b9c Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 29 Dec 2008 16:09:35 +0000 Subject: 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 --- crawl-ref/source/beam.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/beam.h') 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, -- cgit v1.2.3-54-g00ecf