summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.h
blob: 5d10125d98a61fcc83f9403db9a20fa209e3dc57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *  File:       mon-cast.h
 *  Summary:    Monster spell casting.
 *  Written by: Linley Henzell
 */

#ifndef MONCAST_H
#define MONCAST_H

#include "enum.h"

class monsters;
class bolt;

bool handle_mon_spell(monsters *monster, bolt &beem);

bolt mons_spells(monsters *mons, spell_type spell_cast, int power);
void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast,
               bool do_noise = true);
void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast);
void setup_mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast);

void mons_cast_haunt(monsters *monster);

#endif