Initial commit. Updated release archive.

This commit is contained in:
Jaysyn904
2024-06-20 15:47:42 -04:00
parent d14b20cb85
commit e49d03aa23
6897 changed files with 6107848 additions and 0 deletions

37
_removed/summon_hama.nss Normal file
View File

@@ -0,0 +1,37 @@
//::///////////////////////////////////////////////
//:: Summon Hamatula
//:: Summon_Hama
//:://////////////////////////////////////////////
/*
Summons a Hamatula to fight for the character
*/
//:://////////////////////////////////////////////
//:: Created By: Sir Attilla
//:: Created On: January 3 , 2004
//:://////////////////////////////////////////////
#include "x2_inc_spellhook"
#include "discipleinclude"
void main()
{
//Declare major variables
int nMetaMagic = GetMetaMagicFeat();
int nDuration = GetCasterLevel(OBJECT_SELF);
object oPC = OBJECT_SELF;
effect eSummon = EffectSummonCreature("NW_DMVROCK");
if (GetHasFeat(FEAT_IMP_SUMMON_HAMATULA, oPC))
{
eSummon = EffectSummonCreature("NW_DEMON");
}
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
//Make metamagic check for extend
if (nMetaMagic == METAMAGIC_EXTEND)
{
nDuration = nDuration *2; //Duration is +100%
}
//Apply the VFX impact and summon effect
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eVis, GetSpellTargetLocation());
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eSummon, GetSpellTargetLocation(), TurnsToSeconds(nDuration));
}