Added "Removed Files" folder

Added "Removed Files" folder in case we needed to review any of them.
This commit is contained in:
Jaysyn904
2022-10-10 10:39:34 -04:00
parent c1d6da2ed3
commit 151d074880
290 changed files with 55612 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
//::///////////////////////////////////////////////
//:: Summon Shadow
//:: NW_S0_SummShad02.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Spell powerful ally from the shadow plane to
battle for the wizard
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 26, 2001
//:://////////////////////////////////////////////
#include "x2_inc_spellhook"
void main()
{
/*
Spellcast Hook Code
Added 2003-06-23 by GeorgZ
If you want to make changes to all spells,
check x2_inc_spellhook.nss to find out more
*/
if (!X2PreSpellCastCode())
{
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
return;
}
// End of Spell Cast Hook
//Declare major variables
int nMetaMagic = GetMetaMagicFeat();
int nCasterLevel = GetLevelByClass(CLASS_TYPE_CLERIC);
effect eSummon;
//effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_UNDEAD);
//Set the summoned undead to the appropriate template based on the caster level
if (nCasterLevel <= 7)
{
eSummon = EffectSummonCreature("shadow01",VFX_FNF_SUMMON_UNDEAD);
}
else if ((nCasterLevel >= 8) && (nCasterLevel <= 17))
{
eSummon = EffectSummonCreature("shadhound01",VFX_FNF_SUMMON_UNDEAD);
}
else if ((nCasterLevel >= 18) && (nCasterLevel <= 23))
{
eSummon = EffectSummonCreature("shadfiend01",VFX_FNF_SUMMON_UNDEAD); // change later
}
else if ((nCasterLevel >= 24))
{
eSummon = EffectSummonCreature("shadlord01",VFX_FNF_SUMMON_UNDEAD);
}
//Apply VFX impact and summon effect
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eSummon, GetSpellTargetLocation(), HoursToSeconds(24));
}