45 lines
960 B
Plaintext
45 lines
960 B
Plaintext
|
///::///////////////////////////////////////////////
|
||
|
//:: Lesser Mind Blank
|
||
|
//:: NW_S0_LsMndBlk.nss
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
The target is given complete protection
|
||
|
from all mental effects.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Preston Watamaniuk
|
||
|
//:: Created On: Jan 7, 2002
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "x0_i0_spells"
|
||
|
|
||
|
#include "x2_inc_spellhook"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
/*
|
||
|
Spellcast Hook Code
|
||
|
Added 2003-06-20 by Georg
|
||
|
If you want to make changes to all spells,
|
||
|
check x2_inc_spellhook.nss to find out more
|
||
|
|
||
|
*/
|
||
|
|
||
|
if (!X2PreSpellCastCode())
|
||
|
{
|
||
|
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
// End of Spell Cast Hook
|
||
|
|
||
|
|
||
|
//Declare major variables
|
||
|
|
||
|
object oTarget = GetSpellTargetObject();
|
||
|
|
||
|
spellApplyMindBlank(oTarget, GetSpellId());
|
||
|
}
|