#include <spl-miscast.h>
Public Member Functions | |
MiscastEffect (actor *_target, int _source, spell_type _spell, int _pow, int _fail, std::string _cause="", nothing_happens_when_type _nothing_happens=NH_DEFAULT, int _lethality_margin=0, std::string _hand_str="", bool _can_plural_hand=true) | |
MiscastEffect (actor *_target, int _source, spschool_flag_type _school, int _level, std::string _cause, nothing_happens_when_type _nothing_happens=NH_DEFAULT, int _lethality_margin=0, std::string _hand_str="", bool _can_plural_hand=true) | |
MiscastEffect (actor *_target, int _source, spschool_flag_type _school, int _pow, int _fail, std::string _cause, nothing_happens_when_type _nothing_happens=NH_DEFAULT, int _lethality_margin=0, std::string _hand_str="", bool _can_plural_hand=true) | |
~MiscastEffect () | |
void | do_miscast () |
MiscastEffect::MiscastEffect | ( | actor * | _target, | |
int | _source, | |||
spell_type | _spell, | |||
int | _pow, | |||
int | _fail, | |||
std::string | _cause = "" , |
|||
nothing_happens_when_type | _nothing_happens = NH_DEFAULT , |
|||
int | _lethality_margin = 0 , |
|||
std::string | _hand_str = "" , |
|||
bool | _can_plural_hand = true | |||
) |
MiscastEffect::MiscastEffect | ( | actor * | _target, | |
int | _source, | |||
spschool_flag_type | _school, | |||
int | _level, | |||
std::string | _cause, | |||
nothing_happens_when_type | _nothing_happens = NH_DEFAULT , |
|||
int | _lethality_margin = 0 , |
|||
std::string | _hand_str = "" , |
|||
bool | _can_plural_hand = true | |||
) |
MiscastEffect::MiscastEffect | ( | actor * | _target, | |
int | _source, | |||
spschool_flag_type | _school, | |||
int | _pow, | |||
int | _fail, | |||
std::string | _cause, | |||
nothing_happens_when_type | _nothing_happens = NH_DEFAULT , |
|||
int | _lethality_margin = 0 , |
|||
std::string | _hand_str = "" , |
|||
bool | _can_plural_hand = true | |||
) |
MiscastEffect::~MiscastEffect | ( | ) |
void MiscastEffect::do_miscast | ( | ) |