30 lines
989 B
Plaintext
30 lines
989 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Acid Fog: On Enter
|
|
//:: NW_S0_AcidFogA.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
All creatures within the AoE take 2d6 acid damage
|
|
per round and upon entering if they fail a Fort Save
|
|
their movement is halved.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Preston Watamaniuk
|
|
//:: Created On: May 17, 2001
|
|
//:://////////////////////////////////////////////
|
|
|
|
//#include "X0_I0_SPELLS"
|
|
#include "x2_inc_spellhook"
|
|
#include "prc_inc_spells"
|
|
|
|
void main()
|
|
{
|
|
effect eVis = EffectVisualEffect(VFX_IMP_POISON_S);
|
|
effect ePoison = EffectPoison(POISON_COLOSSAL_SPIDER_VENOM);
|
|
object oTarget = GetEnteringObject();
|
|
float fDelay = PRCGetRandomDelay(1.0, 2.2);
|
|
//DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget));
|
|
DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_INSTANT, ePoison, oTarget));
|
|
|
|
}
|