Aantioch_Infernum/_module/nss/dead_magic_exit.nss

13 lines
281 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
#include "nw_i0_spells"
void main()
{
object oPC = GetExitingObject();
effect eVis = EffectVisualEffect(VFX_IMP_DISPEL);
RemoveSpecificEffect(EFFECT_TYPE_SPELL_FAILURE, oPC);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eVis, oPC);
AssignCommand(oPC, PlaySound("sce_positive"));
}