Further file organization
Further file organization
This commit is contained in:
21
nwn/nwnprc/trunk/scripts/prc_bn_eyes.nss
Normal file
21
nwn/nwnprc/trunk/scripts/prc_bn_eyes.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
#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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user