Aantioch_Infernum/_module/nss/barkskinvfx2.nss
EpicValor 75b5f91c8e Remade some areas, and added a new route
to Southampton Port.  Added new creature for scenery in new area. changed the properties of some items to not cause alignment issues.
2023-10-03 21:11:33 -05:00

13 lines
494 B
Plaintext

void main()
{
object oTarget = OBJECT_SELF;
effect eMind = EffectVisualEffect(VFX_DUR_PROT_BARKSKIN);
effect eGhost = EffectVisualEffect(VFX_DUR_GHOST_TRANSPARENT);
eMind = UnyieldingEffect(eMind);
eGhost = UnyieldingEffect(eGhost);
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eGhost, oTarget));
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMind, oTarget));
SetLocalInt(OBJECT_SELF, "X1_L_IMMUNE_TO_DISPEL", 100);
}