Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
13
_module/nss/atr_stripall.nss
Normal file
13
_module/nss/atr_stripall.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
object oCharacter = GetEnteringObject();
|
||||
effect eDispelAll = EffectDispelMagicAll(40);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), oCharacter);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eDispelAll, oCharacter);
|
||||
if (GetStealthMode(oCharacter) && !GetPlotFlag(oCharacter))
|
||||
{
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SOUND_BURST), oCharacter);
|
||||
SetActionMode(oCharacter, ACTION_MODE_STEALTH, FALSE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user