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,26 @@
/**
* @file
* Extra Summons for Alienist
*
*/
#include "prc_inc_spells"
void main()
{
object oCaster = OBJECT_SELF;
int nMaxSlot = GetSpellslotLevel(GetPrimaryArcaneClass(oCaster), oCaster);
int nSpell;
if (nMaxSlot == 9) nSpell = SPELL_SUMMON_CREATURE_IX;
else if (nMaxSlot == 8) nSpell = SPELL_SUMMON_CREATURE_VIII;
else if (nMaxSlot == 7) nSpell = SPELL_SUMMON_CREATURE_VII;
else if (nMaxSlot == 6) nSpell = SPELL_SUMMON_CREATURE_VI;
else if (nMaxSlot == 5) nSpell = SPELL_SUMMON_CREATURE_V;
else if (nMaxSlot == 4) nSpell = SPELL_SUMMON_CREATURE_IV;
else if (nMaxSlot == 3) nSpell = SPELL_SUMMON_CREATURE_III;
else if (nMaxSlot == 2) nSpell = SPELL_SUMMON_CREATURE_II;
else if (nMaxSlot == 1) nSpell = SPELL_SUMMON_CREATURE_I;
DoRacialSLA(nSpell);
}