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

19 lines
418 B
Plaintext
Raw Permalink Normal View History

/*
Activates Double Wand
*/
void main()
{
object oPC = OBJECT_SELF;
if(GetLocalInt(oPC, "DoubleWand"))
{
FloatingTextStringOnCreature("Double Wand Wielder Deactivated.", oPC, FALSE);
DeleteLocalInt(oPC, "DoubleWand");
}
else
{
FloatingTextStringOnCreature("Double Wand Wielder Activated.", oPC, FALSE);
SetLocalInt(oPC, "DoubleWand", TRUE);
}
}