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