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.
This commit is contained in:
Jaysyn904
2023-08-22 10:00:21 -04:00
parent 3acda03f30
commit 5914ed2ab5
22853 changed files with 57524 additions and 47307 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: Hellfire Infusion
//:: inv_hf_infusion.nss
//:://////////////////////////////////////////////
//:: Applies Empower, Extend or Maximize
//:: to next spell cast from item.
//:://////////////////////////////////////////////
#include "inv_invoc_const"
void main()
{
object oPC = OBJECT_SELF;
int nSpellID = GetSpellId();
int nMeta;
string sMeta;
switch(nSpellID)
{
case INVOKE_HF_INFUSION_EMPOWER: nMeta = METAMAGIC_EMPOWER; sMeta = "Empower"; break;
case INVOKE_HF_INFUSION_EXTEND: nMeta = METAMAGIC_EXTEND; sMeta = "Extend"; break;
case INVOKE_HF_INFUSION_MAXIMIZE: nMeta = METAMAGIC_MAXIMIZE; sMeta = "Maximize"; break;
case INVOKE_HF_INFUSION_WIDEN: nMeta = 0; sMeta = "Widen"; SetLocalFloat(oPC, "PRC_HF_Infusion_Wid", 2.0f); break;
default: return;
}
SetLocalInt(oPC, "PRC_HF_Infusion", nMeta);
if(nSpellID != INVOKE_HF_INFUSION_WIDEN)
DeleteLocalFloat(oPC, "PRC_HF_Infusion_Wid");
FloatingTextStringOnCreature("Hellfire Infusion: "+sMeta+" Activated", oPC, FALSE);
}