Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,56 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Daylight
// sp_daylight.nss
/////////////////////////////////////////////////////////////////////////////
/**@file Daylight
Evocation [Light]
Level: Brd 3, Clr 3, Drd 3, Pal 3, Sor/Wiz 3
Components: V, S
Casting Time: 1 standard action
Range: Touch
Target: Object touched
Duration: 10 min./level (D)
Saving Throw: None
Spell Resistance: No
The object touched sheds light as bright as full daylight in a 60-foot radius,
and dim light for an additional 60 feet beyond that. Creatures that take penalties
in bright light also take them while within the radius of this magical light.
Despite its name, this spell is not the equivalent of daylight for the purposes
of creatures that are damaged or destroyed by bright light.
If daylight is cast on a small object that is then placed inside or under a
light-proof covering, the spell<6C>s effects are blocked until the covering is removed.
Daylight brought into an area of magical darkness (or vice versa) is temporarily
negated, so that the otherwise prevailing light conditions exist in the overlapping
areas of effect.
Daylight counters or dispels any darkness spell of equal or lower level, such as darkness.
**/
#include "prc_alterations"
#include "prc_inc_spells"
void main()
{
if(!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_EVOCATION);
object oPC = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
effect eAoE = EffectAreaOfEffect(VFX_MOB_DAYLIGHT);
int nCasterLvl = PRCGetCasterLevel(oPC);
int nMetaMagic = PRCGetMetaMagicFeat();
float fDur = (600.0f * nCasterLvl);
if(nMetaMagic & METAMAGIC_EXTEND)
{
fDur += fDur;
}
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAoE, oTarget, fDur);
PRCSetSchool();
}