mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-19 08:06:31 -05:00
Updated Release Archive
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.
This commit is contained in:
25
nwn/trunk/newspellbook/bnd_tnb_visage.nss
Normal file
25
nwn/trunk/newspellbook/bnd_tnb_visage.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
05/03/21 by Stratovarius
|
||||
|
||||
Visage of the Dead: Mindless undead believe you to be one of them and do not attack you except
|
||||
in self-defense, or when ordered to do so by their creator.
|
||||
|
||||
OnEnter
|
||||
*/
|
||||
|
||||
#include "bnd_inc_bndfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
//Declare major variables
|
||||
object oBinder = GetLocalObject(GetModule(), "TenebrousCharm");
|
||||
//FloatingTextStringOnCreature(GetName(oBinder)+" created this AoE", GetFirstPC());
|
||||
|
||||
//Capture the first target object in the shape.
|
||||
object oTarget = GetEnteringObject();
|
||||
if (!GetIsFriend(oTarget, oBinder) && oTarget != oBinder && MyPRCGetRacialType(oTarget) == RACIAL_TYPE_UNDEAD && 10 >= GetAbilityScore(oTarget, ABILITY_INTELLIGENCE, TRUE) && !GetIsObjectValid(GetMaster(oTarget)))
|
||||
{
|
||||
SetLocalObject(oBinder, "TenebrousCharm", oTarget);
|
||||
ExecuteScript("bnd_tnb_charm", oBinder);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user