/************************************************************************ Realms of Aurealis James Rhone aka Vall of RoA fight.h Header file for fight.c... Fight protos and defines and such are defined in this file... ******** Heavily modified and expanded ******** *** BE AWARE OF ALL RIGHTS AND RESERVATIONS *** ******** Heavily modified and expanded ******** All rights reserved henceforth. Please note that no guarantees are associated with any code from Realms of Aurealis. All code which has been released to the general public has been done so with an 'as is' pretense. RoA is based on both Diku and CircleMUD and ALL licenses from both *MUST* be adhered to as well as the RoA license. *** Read, Learn, Understand, Improve *** *************************************************************************/ #ifndef ROA_FIGHT_H #define ROA_FIGHT_H // for damage function return values #define CHAR_DIED 0 #define CHAR_OK 1 void set_fighting(chdata *ch, chdata *victim); void stop_fighting(chdata *ch); int hit(chdata *ch, chdata *victim, int type, BOOL dual); void forget(chdata *ch, chdata *victim); void global_forget(chdata *ch); void remember(chdata *ch, chdata *victim); int damage(chdata *ch, chdata *victim, int dam, int spellnum, BOOL regardless); void appear(chdata *ch); void update_pos(chdata *victim); void make_corpse(chdata *ch); void drop_all(chdata *ch); void change_alignment(chdata *ch, chdata *victim); void death_cry(chdata *ch); void raw_kill(chdata *ch); void die_arena_style(chdata *ch); void die(chdata *ch, BOOL akill); void group_gain(chdata *ch, chdata *victim); void solo_gain_exp(chdata *ch, chdata *victim); chdata *random_group_member(chdata *ch); BOOL check_mortal_combat(chdata *ch, chdata *vict); int spell_adjust_damage(chdata *victim, int dam); int adjust_damage(chdata *ch, chdata *victim, int dam, int *spellnum, BOOL regardless, int *shock_dam); void send_combat_mortlog(chdata *ch, chdata *victim); void do_combat_autos(chdata *ch); void do_shaman_wolf(int dam, chdata *ch, chdata *victim); void linkless_flee(chdata *victim); void send_shock_message(chdata *ch, chdata *victim); void do_death_procs(chdata *ch, chdata *victim); int successful_parry(chdata *victim); int successful_dodge(chdata *victim); int successful_block(chdata *victim); int get_weapon_type(obdata *weap); int get_thaco(chdata *ch); int successful_hit(chdata *ch, chdata *victim); void perform_whirlwind(chdata *ch); BOOL no_extra_attacks(chdata *ch); #endif /* ROA_FIGHT_H */