Further file organization
Further file organization
This commit is contained in:
40
nwn/nwnprc/trunk/spells/sp_vile_death.nss
Normal file
40
nwn/nwnprc/trunk/spells/sp_vile_death.nss
Normal file
@@ -0,0 +1,40 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Vile Death
|
||||
//:: FileName sp_vile_death.nss
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file Vile Death
|
||||
Conjuration (Calling) [Evil]
|
||||
Level: Clr 9, Dn 7, Wiz 9
|
||||
Components: V, S, M
|
||||
Casting Time: 1 standard action
|
||||
Range: Touch
|
||||
Targets: One undead creature
|
||||
Duration: Permanent
|
||||
|
||||
The target undead creature gains the Fiendish template.
|
||||
|
||||
Author: Stratovarius
|
||||
Created: 5/17/09
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_inc_spells"
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
if(!X2PreSpellCastCode()) return;
|
||||
|
||||
PRCSetSchool(SPELL_SCHOOL_NECROMANCY);
|
||||
|
||||
object oPC = OBJECT_SELF;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
|
||||
if(MyPRCGetRacialType(oTarget) == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
SPApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_BLASPHEMY), oTarget);
|
||||
ApplyTemplateToObject(TEMPLATE_FIENDISH, oTarget);
|
||||
}
|
||||
PRCSetSchool();
|
||||
}
|
Reference in New Issue
Block a user