blob: 390f56387539d62c67d1348a98bb0f71e13cc4f2 (
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
26
27
28
29
30
|
/*
* 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;
void init_mons_spells();
bool is_valid_mon_spell(spell_type spell);
bool handle_mon_spell(monsters *monster, bolt &beem);
bolt mons_spells(monsters *mons, spell_type spell_cast, int power,
bool check_validity = false);
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);
bool setup_mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast,
bool check_validity = false);
void mons_cast_haunt(monsters *monster);
#endif
|