PRC8/nwn/trunk/newspellbook/inv_masofelemsum.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

23 lines
788 B
Plaintext

/*
Warlock epic feat
Master of the Elements summoning
*/
#include "prc_inc_racial"
#include "inv_inc_invfunc"
void main()
{
int CasterLvl = GetInvokerLevel(OBJECT_SELF, CLASS_TYPE_WARLOCK);
if(DEBUG) DoDebug("Master of Elements Spell ID: " + IntToString(GetSpellId()));
if(GetSpellId() == INVOKE_MASTER_OF_ELEMENTS_AIR)
DoRacialSLA(3197, CasterLvl); //Summon Creature 9 - Air
else if(GetSpellId() == INVOKE_MASTER_OF_ELEMENTS_EARTH)
DoRacialSLA(3198, CasterLvl); //Summon Creature 9 - Earth
else if(GetSpellId() == INVOKE_MASTER_OF_ELEMENTS_FIRE)
DoRacialSLA(3199, CasterLvl); //Summon Creature 9 - Fire
else if(GetSpellId() == INVOKE_MASTER_OF_ELEMENTS_WATER)
DoRacialSLA(3200, CasterLvl); //Summon Creature 9 - Water
}