2025/10/30 Update

Improved Trip / Disarm should be Champion of Corellon bonus feats.
Crinti Shadow Marauders don't get weapon proficiencies.
Epic Dragon Shaman is 21st level.
JPM was missing epic arcane bonus feats.
Karsites & Silverbrows can enter Crinti Shadow Maarauder.
Drunken Rage can allow entry into Frostrager.
Knight of the Sacred Seal was missing FEATOR prereq for Weapon Focus: Shortsword.
Two-Weapon Defense is a general feat.
Tweaked Echoblade enchantment cost.
Added base class equpiment packages more inline with PnP & the actual package descriptions (@Cypher).
Added a modified packages.2da to support the above.
Updated Dynamic Conversation tokens as to greatly lessen the chance of conflicting with module dialogues.
Added weapon proficiencies to FeatToIprop().
Added pnp essentia scaling support for meldshaper levels over 40.
Added GetProficiencyFeatOfWeaponType().
Added GetHasSwashbucklerWeapon().
Added GetHasCorellonWeapon().
Fixed spelling for IP_CONST_FEAT_WEAPON_PROFICIENCY_NUNCHAKU.
Fixed PsyRogue's Enhanced Sneak Attack scaling.
Eldrtich Doom shouldn't target non-hostiles.
Fixed Hellfire Warlock fire resistance to work with other sources of fire resistance.
Fixed text feedback for Island in Time.
Added some DEBUG for Shadow Blade.
prc_2da_cache creature should no longer be accidently targetable, causing faction issues.
Added a PnP cat creature, for the hell of it.  Tibitz is Dragon Magizine, unfortunately.
Updated text tokens for Astral Construct convos.
Updated text tokens for soulknife's mindblade convos.
If you save vs certain fear effects, they fail to work on you for 24 hours, from that source.  (Form of Doom, Dragon Fear)
Fixed Prismatic Sphere VFX bug (@Syrophir)
Fixed Banishment bug on all Prismatic spells.
Bralani Eldarin were missing Low-Light Vision.
Fixed Lips of Rapture bug.
Prelimiary work to making Favoured Soul's Deity's Weapon closer to PnP.
Fixed Firey Burst bug.  I think.

Updated notes.
Updated PRC8 Manual.
This commit is contained in:
Jaysyn904
2025-10-30 19:04:58 -04:00
parent 8e2cfc9779
commit 5e9986829f
304 changed files with 2586 additions and 13859 deletions

View File

@@ -1,45 +1,45 @@
//::///////////////////////////////////////////////
//:: Name
//:: FileName sp_.nss
//:: Name
//:: FileName sp_prismt_sphr.nss
//:://////////////////////////////////////////////
/**@file Prismatic Sphere
Abjuration
Level: Protection 9, Sor/Wiz 9, Sun 9
Components: V
Range: 10 ft.
Level: Protection 9, Sor/Wiz 9, Sun 9
Components: V
Range: 10 ft.
Effect: 10-ft.-radius sphere centered on you
This spell functions like prismatic wall, except you
conjure up an immobile, opaque globe of shimmering,
conjure up an immobile, opaque globe of shimmering,
multicolored light that surrounds you and protects
you from all forms of attack. The sphere flashes in
all colors of the visible spectrum.
The sphere<EFBFBD>s blindness effect on creatures with less
The sphere's blindness effect on creatures with less
than 8 HD lasts 2d4x10 minutes.
You can pass into and out of the prismatic sphere and
remain near it without harm. However, when you<EFBFBD>re
inside it, the sphere blocks any attempt to project
remain near it without harm. However, when you are
inside it, the sphere blocks any attempt to project
something through the sphere (including spells). Other
creatures that attempt to attack you or pass through
creatures that attempt to attack you or pass through
suffer the effects of each color, one at a time.
Typically, only the upper hemisphere of the globe will
exist, since you are at the center of the sphere, so
exist, since you are at the center of the sphere, so
the lower half is usually excluded by the floor surface
you are standing on.
The colors of the sphere have the same effects as the
colors of a prismatic wall:
Red 1st Deals 20 points of fire damage (Reflex half).
Red 1st Deals 20 points of fire damage (Reflex half).
Orange 2nd Deals 40 points of acid damage (Reflex half).
Yellow 3rd Deals 80 points of electricity damage (Reflex half).
Green 4th Poison (Kills; Fortitude partial for 1d6 points of Con damage instead).
Blue 5th Turned to stone (Fortitude negates).
Indigo 6th Will save or become insane (as insanity spell).
Violet 7th Creatures sent to another plane (Will negates).
Blue 5th Turned to stone (Fortitude negates).
Indigo 6th Will save or become insane (as insanity spell).
Violet 7th Creatures sent to another plane (Will negates).
Author: Tenjac
Created: 7/6/07
@@ -53,36 +53,46 @@ Created: 7/6/07
void main()
{
if(!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_ABJURATION);
object oPC = OBJECT_SELF;
location lTarget = GetLocation(oPC);
object oTarget;
int nMetaMagic = PRCGetMetaMagicFeat();
int nCasterLvl = PRCGetCasterLevel(oPC);
float fDelay, fDuration;
float fDuration;
float fDelay;
float fDurFX = 3.0;
float fDurAoE = TurnsToSeconds(nCasterLvl * 10);
if (nMetaMagic & METAMAGIC_EXTEND) fDurAoE += fDurAoE;
effect eAoE = EffectAreaOfEffect(VFX_PER_PRISMATIC_SPHERE);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_PRISMATIC_SPHERE), lTarget, fDurAoE);
/*
// Added a hearbeat script since .2DA only points to A and B for on enter and on exit
// LABEL SHAPE RADIUS WIDTH LENGTH ONENTER ONEXIT HEARTBEAT
// 173 VFX_PER_PRISMATIC_SPHERE C 3.048 **** **** sp_prismt_sphrA sp_prismt_sphrB ****
*/
effect eAoE = EffectAreaOfEffect(VFX_PER_PRISMATIC_SPHERE, "sp_prismt_sphrA", "sp_prismt_sphrH", "sp_prismt_sphrB");
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eAoE, lTarget, fDurAoE);
object oAoE = GetAreaOfEffectObject(lTarget, "VFX_PER_PRISMATIC_SPHERE");
SetAllAoEInts(SPELL_PRISMATIC_SPHERE, oAoE, PRCGetSpellSaveDC(SPELL_PRISMATIC_SPHERE, SPELL_SCHOOL_ABJURATION), 0, nCasterLvl);
effect eVFX = EffectVisualEffect(VFX_DUR_PRISMATIC_SPHERE);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVFX, oAoE);
//SendMessageToPC(oPC, "Casting a modified Prismatic Sphere with dur: " + FloatToString(fDurAoE));
// Handles visual fx of the spell (and continued on the heartbeat script) since the fx seem to last max 3 secs.
effect eVFX = EffectVisualEffect(VFX_DUR_PRISMATIC_SPHERE, FALSE, 1.0, [0.0,0.0,0.064], [0.0,0.0,0.36]);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eVFX, lTarget, fDurFX);
// Repeats the vFX after 3 seconds
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eVFX, lTarget, fDurFX));
// Declare blindness
effect eBlind = EffectBlindness();
// Start cycling through the AOE Object for viable targets
oTarget = MyFirstObjectInShape(SHAPE_SPHERE, 10.0, lTarget, TRUE, OBJECT_TYPE_CREATURE);
while(GetIsObjectValid(oTarget))
{
// PvP check
if(!GetIsReactionTypeFriendly(oTarget, oPC) &&
// Make sure they are not immune to spells
@@ -93,7 +103,7 @@ void main()
{
// Fire cast spell at event for the affected target
PRCSignalSpellEvent(oTarget, TRUE, SPELL_PRISMATIC_SPHERE, oPC);
// Check if they can see
if(!PRCGetHasEffect(EFFECT_TYPE_BLINDNESS, oTarget))
{
@@ -103,10 +113,10 @@ void main()
// Get duration
fDuration = IntToFloat(d4(2) * 10);
if(nMetaMagic & METAMAGIC_EXTEND) fDuration += fDuration;
// Get a small delay
fDelay = GetDistanceToObject(oTarget)/20;
// Apply blindness
DelayCommand(fDelay, SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eBlind, oTarget, fDuration, TRUE, SPELL_PRISMATIC_SPHERE, nCasterLvl));
}
@@ -116,4 +126,5 @@ void main()
//Get next target.
oTarget = MyNextObjectInShape(SHAPE_SPHERE, 10.0, lTarget, TRUE, OBJECT_TYPE_CREATURE);
}
}
PRCSetSchool();
}