Added Dev files / hak

Added hakbuilder program.  Added Dev files / hak.  Added some notes.
This commit is contained in:
Jaysyn904
2022-10-07 21:07:00 -04:00
parent 128e7e59a4
commit cbacc2bc3e
42 changed files with 2929 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
//::///////////////////////////////////////////////
//:: Summon Shadow
//:: X0_S2_ShadSum.nss
//:: Copyright (c) 2002 Bioware Corp.
//:://////////////////////////////////////////////
/*
PRESTIGE CLASS VERSION
Spell powerful ally from the shadow plane to
battle for the wizard
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 26, 2001
//:://////////////////////////////////////////////
void main()
{
//Declare major variables
int nMetaMagic = GetMetaMagicFeat();
int nCasterLevel = GetLevelByClass(27);
int nDuration = nCasterLevel;
effect eSummon;
//Set the summoned undead to the appropriate template based on the caster level
if (nCasterLevel <= 5)
{
eSummon = EffectSummonCreature("shadow01",VFX_FNF_SUMMON_UNDEAD);
}
else if (nCasterLevel <= 8)
{
eSummon = EffectSummonCreature("shadhound01",VFX_FNF_SUMMON_UNDEAD);
}
else if (nCasterLevel <=10)
{
eSummon = EffectSummonCreature("shadlord01",VFX_FNF_SUMMON_UNDEAD);
}
else
{
if (GetHasFeat(1002,OBJECT_SELF))// has epic shadowlord feat
{
//GZ 2003-07-24: Epic shadow lord
eSummon = EffectSummonCreature("shadlord02",VFX_FNF_SUMMON_UNDEAD);
}
else
{
eSummon = EffectSummonCreature("shadlord01",VFX_FNF_SUMMON_UNDEAD);
}
}
//Apply VFX impact and summon effect
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eSummon, GetSpellTargetLocation(), HoursToSeconds(nDuration));
}