//:///////////////////////////////////////////////////////////////////////////// /* swarm_bloodfly.nss [Jaysyn / 20221230] Bloodflies bite and seek to draw blood from their targets. A bloodfly swarm deals 1d6 damage to any creature whose space it occupies at the end of its move. Blood Drain (Ex): Each creature that begins its turn with a bloodfly swarm in its space suffers 1 points of Constitution damage from blood loss as the mini-kanks feed (Reflex DC 17 half). The save DC is Dexterity-based and includes a +2 racial bonus. Distraction (Ex): Any living creature that begins its turns with a bloodlfy swarm in its space must succeed on a DC 12 Fortitude save or be nauseated for 1 round. The save DC is Constitution-based. */ //:///////////////////////////////////////////////////////////////////////////// #include "prc_misc_const" void main() { //:: Set and apply AOE object effect eAOE = EffectAreaOfEffect(185 /*10FT_SWARM_RADIUS*/, "swm_bloodfly_ent", "swm_bloodfly_hb", "swm_bloodfly_ext"); eAOE = SupernaturalEffect(eAOE); eAOE = ExtraordinaryEffect(eAOE); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(100)); }