forked from Jaysyn/PRC8
21 lines
448 B
Plaintext
21 lines
448 B
Plaintext
|
|
||
|
#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);
|
||
|
}
|
||
|
}
|
||
|
}
|