Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 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);
}