Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
69 lines
1.9 KiB
Plaintext
69 lines
1.9 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name Rain of Roses: On Enter
|
|
//:: FileName sp_rain_roseA.nss
|
|
//:://////////////////////////////////////////////
|
|
/**@file Rain of Roses
|
|
Evocation [Good]
|
|
Level: Drd 7
|
|
Components: V, S, M
|
|
Casting Time: 1 standard action
|
|
Range: Long (400 ft. + 40 ft./level)
|
|
Area: Cylinder (80-ft. radius, 80 ft. high)
|
|
Duration: 1 round/level (D)
|
|
Saving Throw: None (ability damage) and Fortitude
|
|
negates (sickening)
|
|
Spell Resistance: Yes
|
|
|
|
Red roses fall from the sky. Their sharp thorns
|
|
graze the flesh of evil creatures, dealing 1d4
|
|
points of temporary Wisdom damage per round. A
|
|
creature reduced to 0 Wisdom falls unconscious as
|
|
its mind succumbs to horrible nightmares. In
|
|
addition, the beautiful rose petals sicken evil
|
|
creatures touched by them; those that fail a
|
|
Fortitude save are sickened (-2 penalty on attack
|
|
rolls, weapon damage rolls, saving throws,
|
|
ability checks, and skill checks) until they
|
|
leave the spell's area. A successful Fortitude
|
|
save renders a creature immune to the sickening
|
|
effect of the roses, but not the ability damage
|
|
caused by their thorns.
|
|
|
|
Material Component: A red rose.
|
|
|
|
Author: Tenjac
|
|
Created: 7/17/06
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
|
|
#include "prc_inc_spells"
|
|
#include "prc_add_spell_dc"
|
|
void main()
|
|
{
|
|
object oTarget = GetEnteringObject();
|
|
object oCreator = GetAreaOfEffectCreator();
|
|
|
|
int nDC = PRCGetSaveDC(oTarget, oCreator);
|
|
int nCasterLvl = PRCGetCasterLevel(oCreator);
|
|
int nAlign = GetAlignmentGoodEvil(oTarget);
|
|
|
|
if(nAlign == ALIGNMENT_EVIL)
|
|
{
|
|
//Check Spell Resistance
|
|
if(!PRCDoResistSpell(oCreator, oTarget, nCasterLvl + SPGetPenetr()))
|
|
{
|
|
//Make reflex save
|
|
if(!PRCMySavingThrow(SAVING_THROW_REFLEX, oTarget, (PRCGetSaveDC(oTarget, oCreator))))
|
|
{
|
|
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectSickened(), oTarget);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|