PRC8_fork/trunk/scripts/prc_bn_eyes.nss

21 lines
448 B
Plaintext
Raw Normal View History

#include "prc_alterations"
#include "prc_inc_spells"
#include "prc_class_const"
void main ()
{
//declare variables
object oPC = OBJECT_SELF;
effect eBaelnEyes = EffectVisualEffect(VFX_DUR_BAELN_EYES);
//Apply eyes
if(GetLevelByClass(CLASS_TYPE_BAELNORN, oPC))
{
if(!GetHasSpellEffect(SPELL_BAELN_EYES, oPC))
{
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eBaelnEyes, oPC);
}
}
}