Updated Vow of Poverty. Added Sanctify Ki Strike, Holy Strike, Fist of Heavens, Vow of Abstinence, Vow of Chastity & Gift of Faith. (@fenac). Turned off the Taunt & Parry skills. Re-disabled AC & save bonuses from Tumble & Spellcraft. Updated min() & max() to PRCmin() & PRCmax() to not conflict with similarly named NUI adjacent functions. Set Point Blank Shot to 30' per PnP. Added icon for Chosen of Evil. Started work on Hidden Talent. Created Psionics function cheatsheet. Updated release archive.
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
/*
|
|
15/02/19 by Stratovarius
|
|
|
|
Curtain of Shadows
|
|
|
|
Initiate, Veil of Shadows
|
|
Level/School: 5th/Transmutation
|
|
Range: Close (25 ft. + 5 ft./2 levels)
|
|
Effect: Shadowy wall
|
|
Duration: 1 minute/level
|
|
Saving Throw: None
|
|
Spell Resistance: No
|
|
|
|
You create a wall of frigid shadow that wracks all who pass through it with cold.
|
|
|
|
You create a wall of shadow. Any creature passing through the wall takes 1d6 points of cold damage per caster level (maximum 15d6).
|
|
*/
|
|
|
|
#include "shd_inc_shdfunc"
|
|
|
|
void main()
|
|
{
|
|
//Declare major variables
|
|
object oShadow = GetAreaOfEffectCreator();
|
|
object oAoE = GetAreaOfEffectObject(GetLocalLocation(oShadow, "BlackFire_Loc"), "VFX_PER_CURTAIN_SHADOWS");
|
|
struct mystery myst = GetLocalMystery(oShadow, MYST_HOLD_MYST+"3");
|
|
int nDice = PRCMin(15, myst.nShadowcasterLevel);
|
|
|
|
//Capture the first target object in the shape.
|
|
object oTarget = GetEnteringObject();
|
|
if (spellsIsTarget(oTarget, SPELL_TARGET_STANDARDHOSTILE, oShadow))
|
|
{
|
|
int nDamage = MetashadowsDamage(myst, 6, nDice);
|
|
// Apply effects to the currently selected target.
|
|
SPApplyEffectToObject(DURATION_TYPE_INSTANT, PRCEffectDamage(oTarget, nDamage, DAMAGE_TYPE_COLD), oTarget);
|
|
SPApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M_PURPLE), oTarget);
|
|
}
|
|
}
|