Horsefly Swamp update
Creatures & encounter tables to support Horsefly swamp expansion.
This commit is contained in:
21
_module/nss/cold_aura2.nss
Normal file
21
_module/nss/cold_aura2.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
void main()
|
||||
{
|
||||
effect eAcid;
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_FROST_S);
|
||||
|
||||
object oCaster = GetAreaOfEffectCreator();
|
||||
|
||||
object oTarget = GetFirstInPersistentObject();
|
||||
|
||||
while ( GetIsObjectValid(oTarget ) )
|
||||
{
|
||||
if ( GetIsEnemy(oTarget,oCaster) )
|
||||
{
|
||||
eAcid = EffectDamage(d6(2),DAMAGE_TYPE_COLD);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,eAcid,oTarget);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,eVis,oTarget);
|
||||
}
|
||||
oTarget = GetNextInPersistentObject();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user