PRC8/nwn/nwnprc/trunk/scripts/rm_spellfury.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

19 lines
538 B
Plaintext

#include "prc_alterations"
void main()
{
object oPC = OBJECT_SELF;
if(!GetHasSpellEffect(SPELL_SPELL_RAGE, oPC))
{
IncrementRemainingFeatUses(oPC, FEAT_SPELL_FURY);
FloatingTextStringOnCreature("You can use this ability only during the Spell Rage.", oPC, FALSE);
}
else
{
int nMeta = GetLocalInt(oPC, "SuddenMeta");
nMeta |= METAMAGIC_EMPOWER;
SetLocalInt(oPC, "SuddenMeta", nMeta);
FloatingTextStringOnCreature("Sudden Empower Activated", oPC, FALSE);
}
}