/** * This includes some of combat specific defines and classes. * @author Sandoz */ /** @ignore yes */ #define MELEE "fighting.combat.melee." /** This is the cost of the mid-level special attack commands. */ #define MEDIUM_SPECIAL_COST 50 /** This is the level at which the mid-level special attacks can be learnt. */ #define MEDIUM_SPECIAL_LEARN_LEVEL 50 #define LEARNABLE_MELEE_CMDS ({"chop", "hack", "slash", "slice",\ "smash", "stab", "thrust"}) #ifdef __SPECIAL_ATTACK_DATA_CLASS__ #ifndef __MESSAGE_DATA_CLASS__ #define __MESSAGE_DATA_CLASS__ #endif #endif #ifdef __MESSAGE_DATA_CLASS__ class message_data { string attacker; string defender; string others; } #endif #ifdef __SPECIAL_ATTACK_DATA_CLASS__ class special_attack_data { int undefendable; int hit_bonus; string focus; mixed attacks; class message_data messages; } #endif