Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,37 @@
//::///////////////////////////////////////////////
//:: Select Maximize Spell
//:: prc_spldnc_ext.nss
//::///////////////////////////////////////////////
/*
Used to select which metamagics to spelldance
*/
//:://////////////////////////////////////////////
//:: Created By: Stratovarius
//:: Created On: 27.2.2006
//:://////////////////////////////////////////////
void main()
{
object oPC = OBJECT_SELF;
string sMsg;
if (!GetHasFeat(FEAT_MAXIMIZE_SPELL, oPC))
{
FloatingTextStringOnCreature("You don't have Maximize Spell, canceling", oPC, FALSE);
return;
}
int nDance = GetLocalInt(oPC, "SpelldanceMaximize");
if (nDance)
{
DeleteLocalInt(oPC, "SpelldanceMaximize");
sMsg = "Spelldance Maximize turned off";
}
else
{
SetLocalInt(oPC, "SpelldanceMaximize", TRUE);
sMsg = "Spelldance Maximize turned on";
}
FloatingTextStringOnCreature(sMsg, oPC, FALSE);
}