00001
00002
00003
00004
00005
00006
00007 #ifndef MONCAST_H
00008 #define MONCAST_H
00009
00010 #include "enum.h"
00011
00012 class monster;
00013 struct bolt;
00014
00015 void init_mons_spells();
00016 bool is_valid_mon_spell(spell_type spell);
00017
00018 bool handle_mon_spell(monster* mons, bolt &beem);
00019
00020 bolt mons_spells(monster* mons, spell_type spell_cast, int power,
00021 bool check_validity = false);
00022 void mons_cast(monster* mons, bolt &pbolt, spell_type spell_cast,
00023 bool do_noise = true, bool special_ability = false);
00024 void mons_cast_noise(monster* mons, const bolt &pbolt,
00025 spell_type spell_cast, bool special_ability = false);
00026 bool setup_mons_cast(monster* mons, bolt &pbolt, spell_type spell_cast,
00027 bool check_validity = false);
00028
00029 void mons_cast_haunt(monster* mons);
00030 void mons_cast_mislead(monster* mons);
00031 bool actor_is_illusion_cloneable(actor *target);
00032 void mons_cast_spectral_orcs(monster* mons);
00033
00034 #endif