PRC8/nwn/nwnprc/trunk/scripts/prc_knght_vigila.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

23 lines
767 B
Plaintext

//::///////////////////////////////////////////////
//:: Knight - Vigilant Defender, Enter
//:: prc_knght_vigil.nss
//:://////////////////////////////////////////////
//:: Tumble Pen = class level
//:://////////////////////////////////////////////
//:: Created By: Stratovarius
//:: Created On: July 1, 2007
//:://////////////////////////////////////////////
#include "prc_alterations"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
int nKnight = GetLevelByClass(CLASS_TYPE_KNIGHT, GetAreaOfEffectCreator());
effect eSkill = EffectSkillDecrease(SKILL_TUMBLE, nKnight);
// Cleaned up on exit
if (GetIsEnemy(oTarget, GetAreaOfEffectCreator())) SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eSkill, oTarget);
}