forked from Jaysyn/PRC8
26 lines
731 B
Plaintext
26 lines
731 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Divine Fury
|
||
|
//:: tob_rby_divfury.nss
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Up to [turn undead] times per day the character may gain a +4 bonus to attack and +1d10 to damage on a strike
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: 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, "RKVDivineFury", TRUE);
|
||
|
DecrementRemainingFeatUses(oPC, FEAT_TURN_UNDEAD);
|
||
|
}
|
||
|
}
|