2025-04-15 Update
Added Elven blades to Weaponmaster prereqs Fixed Beckon the Frozen Fixed bug with Fire Brand Fixed duration bug with Improved Invisibility Added Soul Eater to Shifter prereqs Fixed ability based class prereqs in prc_prereq.nss Update Eye of Gruumsh for epic levels Update Ur-Priest for epic levels Update Forsaker for epic levels Update Anima Mage for epic levels Update Serene Guardian for epic levels Bladesinger abilities can use chain shirts Fixed Elemental Abjuration Fixed bug with prc cache creature. Forsakers can use non-magic items (heal kits, alchemy, etc) Updated ruleset.2da for NWNEE update Updated AotS bonus feats -Notes Added 3.5e Template index Added 3.5e update booklet Removed release archive
This commit is contained in:
@@ -14,11 +14,23 @@ void ReapplyInvis(object oTarget, effect eInvis, float fDur, int CasterLvl);
|
||||
#include "prc_sp_func"
|
||||
|
||||
void ReapplyInvis(object oTarget, effect eInvis, float fDur, int CasterLvl)
|
||||
{
|
||||
if (fDur <= 0.0) return; // Stop when duration runs out
|
||||
|
||||
if (!PRCGetHasEffect(EFFECT_TYPE_INVISIBILITY, oTarget) && GetHasSpellEffect(SPELL_IMPROVED_INVISIBILITY))
|
||||
{
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eInvis, oTarget, fDur, TRUE, -1, CasterLvl);
|
||||
}
|
||||
|
||||
DelayCommand(6.0, ReapplyInvis(oTarget, eInvis, fDur - 6.0, CasterLvl));
|
||||
}
|
||||
|
||||
/* void ReapplyInvis(object oTarget, effect eInvis, float fDur, int CasterLvl)
|
||||
{
|
||||
if(!PRCGetHasEffect(EFFECT_TYPE_INVISIBILITY, oTarget) && GetHasSpellEffect(SPELL_IMPROVED_INVISIBILITY))
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eInvis, oTarget, fDur,TRUE,-1,CasterLvl);
|
||||
DelayCommand(1.0, ReapplyInvis(oTarget, eInvis, fDur-1.0, CasterLvl));
|
||||
}
|
||||
} */
|
||||
|
||||
//Implements the spell impact, put code here
|
||||
// if called in many places, return TRUE if
|
||||
@@ -42,6 +54,7 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent)
|
||||
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, SPELL_IMPROVED_INVISIBILITY, FALSE));
|
||||
int CasterLvl = nCasterLevel;
|
||||
int nDuration = CasterLvl;
|
||||
|
||||
if (GetHasFeat(FEAT_INSIDIOUSMAGIC,OBJECT_SELF) && GetHasFeat(FEAT_SHADOWWEAVE,oTarget))
|
||||
nDuration = nDuration*2;
|
||||
int nMetaMagic = PRCGetMetaMagicFeat();
|
||||
@@ -54,8 +67,8 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent)
|
||||
//Apply the VFX impact and effects
|
||||
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eImpact, oTarget);
|
||||
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, fDur,TRUE,-1,CasterLvl);
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eInvis, oTarget, fDur,TRUE,-1,CasterLvl);
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, fDur, TRUE,-1,CasterLvl);
|
||||
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eInvis, oTarget, fDur, TRUE,-1,CasterLvl);
|
||||
DelayCommand(1.0, ReapplyInvis(oTarget, eInvis, fDur, CasterLvl));
|
||||
|
||||
return TRUE; //return TRUE if spell charges should be decremented
|
||||
|
||||
@@ -4,6 +4,38 @@
|
||||
//:: Copyright (c) 2002 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
Evocation [Fire]
|
||||
Level: Sorcerer 5, Wizard 5,
|
||||
Components: V, S, M,
|
||||
Casting Time: 1 standard action
|
||||
Range: Medium (100 ft. + 10 ft./level)
|
||||
Area: One 5-ft.-radius burst/level (S)
|
||||
Duration: Instantaneous
|
||||
Saving Throw: Reflex half
|
||||
Spell Resistance: Yes
|
||||
|
||||
The flask of alchemist's fire vanishes from you hand and the
|
||||
ground erupts beneath your foes, shooting multiple fountains
|
||||
of fiery liquid upward.
|
||||
|
||||
Each burst deals 1d6 points of damage per caster level
|
||||
(maximum 10d6) to all creatures within the area. All
|
||||
subjects hit by the burst in the round the spell is
|
||||
cast or within the area in the following round take 1d6
|
||||
points of fire damage per two caster levels (maximum 5d6).
|
||||
A character struck in the round the spell is cast can
|
||||
attempt to extinguish the flames on itself as a
|
||||
full-round action with a successful DC 15 Reflex
|
||||
save.
|
||||
|
||||
Burst effects that overlap do not deal additional
|
||||
damage (a creature can be affected by only one burst).
|
||||
|
||||
Material Component: A flask of alchemist's fire
|
||||
(worth 20 gp).
|
||||
|
||||
|
||||
// * Fires a flame arrow to every target in a
|
||||
// * colossal area
|
||||
// * Each target explodes into a small fireball for
|
||||
@@ -22,8 +54,6 @@
|
||||
|
||||
//:: altered by mr_bumpkin Dec 4, 2003 for prc stuff
|
||||
#include "prc_inc_spells"
|
||||
|
||||
|
||||
#include "prc_add_spell_dc"
|
||||
|
||||
void DoFirebrand(int CasterLvl,int nD6Dice, int nCap, int nSpell,
|
||||
@@ -59,7 +89,7 @@ SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_EVOCATION);
|
||||
|
||||
|
||||
// Changed to local function to add reflex save.
|
||||
DoFirebrand(CasterLvl,nDamage, 15, SPELL_FIREBRAND, VFX_IMP_MIRV_FLAME, VFX_IMP_FLAME_M, ChangedElementalDamage(OBJECT_SELF, DAMAGE_TYPE_FIRE), FALSE);
|
||||
DoFirebrand(CasterLvl,nDamage, 15, SPELL_FIREBRAND, VFX_IMP_MIRV_FLAME, VFX_IMP_FLAME_M, ChangedElementalDamage(OBJECT_SELF, DAMAGE_TYPE_FIRE), TRUE);
|
||||
|
||||
|
||||
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
|
||||
|
||||
Reference in New Issue
Block a user