WizardryEE/Notes/trunk/scripts/ml_radiance.nss
2025-04-30 12:23:15 -04:00

14 lines
469 B
Plaintext

void main()
{
//Declare major variables
object oPC = OBJECT_SELF;
effect eRadiance = EffectVisualEffect(VFX_DUR_ULTRAVISION);
effect eUltra = EffectUltravision();
effect eAC = EffectACIncrease(2,AC_DODGE_BONUS);
eAC = VersusRacialTypeEffect(eAC,RACIAL_TYPE_UNDEAD);
effect eLink = EffectLinkEffects(eRadiance, eUltra);
eLink = EffectLinkEffects(eLink, eAC);
SupernaturalEffect(eLink);
ApplyEffectToObject(2,eLink,OBJECT_SELF);
}