Further file organization
Further file organization
This commit is contained in:
26
nwn/nwnprc/trunk/newspellbook/tob_rby_divimp.nss
Normal file
26
nwn/nwnprc/trunk/newspellbook/tob_rby_divimp.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Divine Impetus
|
||||
//:: tob_rby_divimp.nss
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Up to [turn undead] times per day the character may gain an additional swift action
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Stratovarius
|
||||
//:: Created On: Oct 4, 2008
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "inc_dynconv"
|
||||
#include "tob_inc_tobfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
if(!GetHasFeat(FEAT_TURN_UNDEAD, oPC))
|
||||
SpeakStringByStrRef(40550);
|
||||
else
|
||||
{
|
||||
SetLocalInt(oPC, "RKVDivineImpetus", TRUE);
|
||||
DecrementRemainingFeatUses(oPC, FEAT_TURN_UNDEAD);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user