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,37 @@
//::///////////////////////////////////////////////
//:: Rapid Metabolism evaluation and execution script
//:: prc_rapid_metab
//:://////////////////////////////////////////////
/*
Heals the possessor by 1 + ConMod HP every
turn, or HD + ConMod per day if the PnP
version is active.
*/
//:://////////////////////////////////////////////
//:: Created By: Ornedan
//:: Created On: 24.03.2005
//:://////////////////////////////////////////////
#include "prc_alterations"
void main()
{
object oCreature = OBJECT_SELF;
if(GetCurrentThread() == "")
{
float fInterval = TurnsToSeconds(1);
if(GetPRCSwitch(PRC_PNP_RAPID_METABOLISM))
fInterval = HoursToSeconds(24);
if(!SpawnNewThread("RapidMetabolism", "prc_rapid_metab", fInterval, oCreature))
WriteTimestampedLogEntry("Failed to spawn thread for Rapid Metabolism on " + GetName(oCreature));
}
else
{
int nHP = 1;
if(GetPRCSwitch(PRC_PNP_RAPID_METABOLISM))
nHP = GetHitDice(oCreature);
effect eHeal = EffectHeal(nHP + GetAbilityModifier(ABILITY_CONSTITUTION, oCreature));
ApplyEffectToObject(DURATION_TYPE_INSTANT, eHeal, oCreature);
}
}