//:://///////////////////////////////////////////// //:: Strong Frost Trap //:: NW_T1_ColdMinC //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Strikes the entering object with a blast of cold for 3d4 damage. Fortitude save to avoid being paralyzed for 3 rounds. */ //::////////////////////////////////////////////// //:: Created By: Preston Watamaniuk //:: Created On: Nov 16th , 2001 //::////////////////////////////////////////////// #include "NW_I0_SPELLS" void main() { //Declare major variables object oTarget = GetEnteringObject(); effect eDam = EffectDamage(d4(20), DAMAGE_TYPE_COLD); effect eParal = EffectPetrify(); effect eVis = EffectVisualEffect(VFX_IMP_FROST_S); effect eFreeze = EffectVisualEffect(VFX_DUR_BLUR); effect eLink = EffectLinkEffects(eParal, eFreeze); if(!MySavingThrow(SAVING_THROW_FORT,oTarget, 25, SAVING_THROW_TYPE_TRAP)) { ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(3)); } ApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oTarget); ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget); }