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,42 @@
//::///////////////////////////////////////////////
//:: Name Draconic Toughness
//:: FileName inv_dra_dractgh.nss
//::///////////////////////////////////////////////
/*
Greater Invocation
5th Level Spell
You gain temporary hit points equal to your caster
level. These hit points last for 24 hours or until
the invocation is cast again, in which case the new
effect replaces the old.
*/
//::///////////////////////////////////////////////
#include "inv_inc_invfunc"
#include "inv_invokehook"
void main()
{
if(!PreInvocationCastCode()) return;
object oCaster = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
int nCasterLevel = GetInvokerLevel(oCaster, GetInvokingClass());
// Spell does not stack with itself
if(GetHasSpellEffect(INVOKE_DRACONIC_TOUGHNESS,oTarget))
PRCRemoveSpellEffects(INVOKE_DRACONIC_TOUGHNESS, oCaster, oTarget);
effect eHP = EffectTemporaryHitpoints(nCasterLevel);
effect eVis = EffectVisualEffect(VFX_IMP_HOLY_AID);
//Fire cast spell at event for the specified target
SignalEvent(oTarget, EventSpellCastAt(oCaster, INVOKE_DRACONIC_TOUGHNESS, FALSE));
//Apply the VFX impact and effects
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eHP, oTarget, HoursToSeconds(24),TRUE,-1,nCasterLevel);
}