PRC8_fork/nwn/nwnprc/trunk/scripts/prc_ft_sudmax.nss

18 lines
598 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: Sudden Maximize
//:: prc_ft_sudmax.nss
//:://////////////////////////////////////////////
//:: Applies Maximize to next spell cast.
//:://////////////////////////////////////////////
//:: Created By: Stratovarius
//:: Created On: 24/06/2007
//:://////////////////////////////////////////////
void main()
{
object oPC = OBJECT_SELF;
int nMeta = GetLocalInt(oPC, "SuddenMeta");
nMeta |= METAMAGIC_MAXIMIZE;
SetLocalInt(oPC, "SuddenMeta", nMeta);
FloatingTextStringOnCreature("Sudden Maximize Activated", oPC, FALSE);
}