Rune_PRC8/_module/nss/cold_aura1.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

15 lines
421 B
Plaintext

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);
}