PRC8_fork/nwn/trunk/scripts/prc_drgfr_active.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

31 lines
770 B
Plaintext

//::///////////////////////////////////////////////
//:: Dragonfire Strike Activation
//:: prc_drgfr_active.nss
//::///////////////////////////////////////////////
/*
Handles activation/deactivation of Dragonfire Strike
*/
//:://////////////////////////////////////////////
//:: Created By: Fox
//:: Created On: Nov 23, 2007
//:://////////////////////////////////////////////
#include "prc_alterations"
void main()
{
object oPC = OBJECT_SELF;
if(GetLocalInt(oPC, "DragonFireOn"))
{
SetLocalInt(oPC, "DragonFireOn", FALSE);
FloatingTextStringOnCreature("*Dragonfire Strike Deactivated*", oPC, FALSE);
}
else
{
SetLocalInt(oPC, "DragonFireOn", TRUE);
FloatingTextStringOnCreature("*Dragonfire Strike Activated*", oPC, FALSE);
}
}