mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 10:57:16 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
22
trunk/scripts/prc_knght_vigila.nss
Normal file
22
trunk/scripts/prc_knght_vigila.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
||||
Reference in New Issue
Block a user