PRC8/trunk/scripts/rm_spellfury.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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);
}
}