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.
This commit is contained in:
@@ -41,6 +41,9 @@ SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_NECROMANCY);
|
||||
int nMetaMagic = PRCGetMetaMagicFeat();
|
||||
int nCasterLevel = PRCGetCasterLevel(OBJECT_SELF);
|
||||
int nDuration = nCasterLevel;
|
||||
|
||||
int bIsPC = GetIsPC(OBJECT_SELF);
|
||||
|
||||
nDuration = 24;
|
||||
string sResRef;
|
||||
//effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_UNDEAD);
|
||||
@@ -61,7 +64,7 @@ SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_NECROMANCY);
|
||||
effect eSummon = EffectSummonCreature(sResRef,VFX_FNF_SUMMON_UNDEAD);
|
||||
//Apply summon effect and VFX impact.
|
||||
MultisummonPreSummon();
|
||||
if(GetPRCSwitch(PRC_CREATE_UNDEAD_UNCONTROLLED))
|
||||
if(GetPRCSwitch(PRC_CREATE_UNDEAD_UNCONTROLLED) && bIsPC)
|
||||
{
|
||||
object oSummon = CreateObject(OBJECT_TYPE_CREATURE, sResRef, PRCGetSpellTargetLocation());
|
||||
//make it hostile
|
||||
|
||||
@@ -40,6 +40,7 @@ SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_NECROMANCY);
|
||||
//Declare major variables
|
||||
int nMetaMagic = PRCGetMetaMagicFeat();
|
||||
int nCasterLevel = PRCGetCasterLevel(OBJECT_SELF);
|
||||
int bIsPC = GetIsPC(OBJECT_SELF);
|
||||
int nDuration = nCasterLevel;
|
||||
nDuration = 24;
|
||||
string sResRef;
|
||||
@@ -62,7 +63,7 @@ SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_NECROMANCY);
|
||||
|
||||
//Apply VFX impact and summon effect
|
||||
MultisummonPreSummon();
|
||||
if(GetPRCSwitch(PRC_CREATE_UNDEAD_UNCONTROLLED))
|
||||
if(GetPRCSwitch(PRC_CREATE_UNDEAD_UNCONTROLLED) && bIsPC)
|
||||
{
|
||||
object oSummon = CreateObject(OBJECT_TYPE_CREATURE, sResRef, PRCGetSpellTargetLocation());
|
||||
//this is to
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "inc_Timestop"
|
||||
#include "inc_timestop"
|
||||
void main()
|
||||
{
|
||||
object oTarget = GetExitingObject();
|
||||
|
||||
@@ -91,14 +91,15 @@ void main()
|
||||
{
|
||||
nArmor = nLevel + 5;
|
||||
DoCorruptionCost(oPC, ABILITY_STRENGTH, d2(1), 0);
|
||||
SignalEvent(oTarget, EventSpellCastAt(oPC, nSpell));
|
||||
}
|
||||
|
||||
else if(nSpell == SPELL_GREATER_LUMINOUS_ARMOR)
|
||||
{
|
||||
nArmor = nLevel + 8;
|
||||
DoCorruptionCost(oPC, ABILITY_STRENGTH, d3(), 0);
|
||||
SignalEvent(oTarget, EventSpellCastAt(oPC, nSpell));
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
return;
|
||||
|
||||
@@ -27,7 +27,7 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent)
|
||||
int nDuration = nCasterLevel; // * Duration 1 turn/level
|
||||
if (CheckMetaMagic(nMetaMagic, METAMAGIC_EXTEND)) //Duration is +100%
|
||||
nDuration *= 2;
|
||||
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, 421, FALSE));
|
||||
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, SPELL_SHIELD_OF_FAITH, FALSE));
|
||||
SPApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_AC_BONUS), oTarget);
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, TurnsToSeconds(nDuration),TRUE,-1,nCasterLevel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user