Area Cleanup. Added CEP3 Skyboxes. Beholder AI fix. NPC & Mook pass. Added QN OnHit script. Add XP for Traps system.
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: Name x2_def_spellcast
 | 
						|
//:: Copyright (c) 2001 Bioware Corp.
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
/*
 | 
						|
    Default On Spell Cast At script
 | 
						|
*/
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:: Created By: Keith Warner
 | 
						|
//:: Created On: June 11/03
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
 | 
						|
    //--------------------------------------------------------------------------
 | 
						|
    // GZ: 2003-10-16
 | 
						|
    // Make Plot Creatures Ignore Attacks
 | 
						|
    //--------------------------------------------------------------------------
 | 
						|
    if (GetPlotFlag(OBJECT_SELF))
 | 
						|
    {
 | 
						|
        return;
 | 
						|
    }
 | 
						|
 | 
						|
    //--------------------------------------------------------------------------
 | 
						|
    // Execute old NWN default AI code
 | 
						|
    //--------------------------------------------------------------------------
 | 
						|
    ExecuteScript("nw_c2_defaultb", OBJECT_SELF);
 | 
						|
 | 
						|
//:: Execute the PRC NPC OnSpellCastAt script
 | 
						|
    ExecuteScript("prc_npc_spellat", OBJECT_SELF);
 | 
						|
}
 |