Files
PRC8/nwn/nwnprc/trunk/epicspellscripts/ss_ep_summonaber.nss
Jaysyn904 80070703b4 2025/11/20 Update
Updated epic swashbucker tlk.
Added notes on Martial Study.
Updated Shadow Servant to scale with Shadow Master level, per PnP.
Made Disciple of Baalzebul's CHA boost intrinsic.
Swarm of Arrows is an Eldritch Knight epic bonus feat.
Epic eldritch theurge is 11th level, not 21st level.
Updated Shadowdancer weapon proficiencies.
WP: Scythe was a usable feat for Warblade.
Gaseous Form added to iprp_spells.
Set Favoured Soul's Regen X Wounds spells to the correct spell level.
Updated Twinfiend to not suck.
Tweaked GetMaxPossibleHP for Undead & Constructs.
Updated PRCIsFlying() for newer CEP2 wings.
More fixes and updated for NUI levelup menu. (@Rakiov)
Added support for de-leveling AMS classes (@Rakiov)
Zakya Rakshasa have a claw & bite attack.
Added check to end grapples after target death.
Removed debug message in GetHighestSpellAvailableByDescriptor()
Monsters won't summon uncontrolled undead.
Added Signal Event to Luminous Armor.
Corrected Signal Event on Shield of Faith.
2025-11-20 21:36:52 -05:00

43 lines
1.6 KiB
Plaintext

//:://////////////////////////////////////////////
//:: FileName: "ss_ep_summonaber"
/* Purpose: Summon Aberration - summons a semi-random aberration for 20 hours.
*/
//:://////////////////////////////////////////////
//:: Created By: Boneshank
//:: Last Updated On: March 12, 2004
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "inc_epicspells"
void main()
{
if (!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_CONJURATION);
object oCaster = OBJECT_SELF;
if(GetCanCastSpell(oCaster, SPELL_EPIC_SUMABER))
{
string sSummon;
switch(d10())
{
case 1:
case 2:
case 3: sSummon = "ep_summonaberat1"; break; //:: Summoned Drider Chief
case 4:
case 5:
case 6: sSummon = "ep_summonaberat2"; break; //:: Summoned Beholder
case 7:
case 8: sSummon = "ep_summonaberat3"; break; //:: Summoned Mind Flayer Darkener
case 9: sSummon = "ep_summonaberat4"; break; //:: Summoned Umber Hulk
case 10: sSummon = "ep_summonaberat5"; break; //:: Summoned Battle Devourer
}
effect eSummon = ExtraordinaryEffect(EffectSummonCreature(sSummon, VFX_FNF_SUMMON_EPIC_UNDEAD, 1.0f));
//Apply the summon visual and summon the aberration.
MultisummonPreSummon();
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eSummon, PRCGetSpellTargetLocation(), HoursToSeconds(20));
DelayCommand(0.5, AugmentSummonedCreature(sSummon));
}
PRCSetSchool();
}