Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: Baalzebul Summon 2
//:: prc_baal_sum2
//:://////////////////////////////////////////////
/*
Summons a Double-Axe Wielding Devil
*/
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "x2_inc_spellhook"
#include "inc_utility"
void main()
{
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_CONJURATION);
//Declare major variables
int nDuration = 15;
float fDelay = 3.0;
effect eSummon = EffectSummonCreature("baalsummon2",VFX_FNF_SUMMON_GATE, fDelay);
//Apply the VFX impact and summon effect
MultisummonPreSummon(OBJECT_SELF);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eSummon, PRCGetSpellTargetLocation(), TurnsToSeconds(nDuration));
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
// Getting rid of the integer used to hold the spells spell school
}