mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 07:37:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
27
trunk/scripts/prc_ninjca_kido.nss
Normal file
27
trunk/scripts/prc_ninjca_kido.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Ki Dodge
|
||||
//:: ninjca_gkido
|
||||
//::
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Begins Ki Dodge Mode
|
||||
*/
|
||||
|
||||
#include "prc_inc_clsfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
//Declare major variables
|
||||
object oPC = OBJECT_SELF;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
|
||||
if (!Ninja_AbilitiesEnabled(OBJECT_SELF))
|
||||
{
|
||||
IncrementRemainingFeatUses(OBJECT_SELF, FEAT_KI_DODGE);
|
||||
SendMessageToPC(OBJECT_SELF, "Your ki powers will not function while encumbered or wearing armor");
|
||||
return;
|
||||
}
|
||||
else
|
||||
Ninja_DecrementKi(oPC, FEAT_KI_DODGE);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectConcealment(20), OBJECT_SELF, RoundsToSeconds(1));
|
||||
}
|
||||
Reference in New Issue
Block a user