blob: 45e87e73c4c55f657ca2731e1a7a26d3c7716f7f (
plain) (
tree)
|
|
/*
* File: mon-cast.h
* Summary: Monster spell casting.
* Written by: Linley Henzell
*/
#ifndef MONCAST_H
#define MONCAST_H
#include "enum.h"
class monsters;
struct 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, bool special_ability = false);
void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast,
bool special_ability = false);
bool setup_mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast,
bool check_validity = false);
void mons_cast_haunt(monsters *monster);
void mons_cast_mislead(monsters *monster);
#endif
|