/************************************************************************ Realms of Aurealis James Rhone aka Vall of RoA filename description here ******** Heavily modified and expanded ******** ******** 100% Completely Original Code ******** *** BE AWARE OF ALL RIGHTS AND RESERVATIONS *** ******** Heavily modified and expanded ******** ******** 100% Completely Original Code ******** 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_AFFECT_H #define ROA_AFFECT_H // for decremental return types... #define AFFECT_NOTFOUND 0 #define AFFECT_DECREMENTED 1 #define AFFECT_REMOVED 2 // function prototypes... void affect_total(chdata *ch); void affect_modify(chdata *ch, byte loc, sbyte mod, long bitv, long bitv2, BOOL add); void affect_to_char(chdata *ch, struct affected_type *af); void affect_remove(chdata *ch, struct affected_type *af); void affect_from_char(chdata *ch, int skill); void affect_join(chdata *ch, struct affected_type *af, BOOL avg_dur, BOOL avg_mod ); BOOL affected_by_spell(chdata *ch, int skill); int decrement_affect(chdata *ch, int spell); void check_per_round_affects(chdata *ch); void NewAffect(struct affected_type *af); #endif /* ROA_AFFECT_H */