Updated AMS marker feats. Removed arcane & divine marker feats. Updated Dread Necromancer for epic progression. Updated weapon baseitem models. Updated new weapons for crafting & npc equip. Updated prefix. Updated release archive.
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: Name      Utterdark on Exit
 | 
						|
//:: FileName  sp_utterdarkB.nss
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
/**@file Utterdark
 | 
						|
Conjuration (Creation) [Evil] 
 | 
						|
Level: Darkness 8, Demonic 8, Sor/Wiz 9
 | 
						|
Components: V, S, M/DF 
 | 
						|
Casting Time: 1 hour 
 | 
						|
Range: Close (25 ft. + 5 ft./2 levels) 
 | 
						|
Area: 100-ft./level radius spread, centered on caster
 | 
						|
Duration: 1 hour/level 
 | 
						|
Saving Throw: None 
 | 
						|
Spell Resistance: No
 | 
						|
 | 
						|
Utterdark spreads from the caster, creating an area
 | 
						|
of cold, cloying magical darkness. This darkness is
 | 
						|
similar to that created by the deeper darkness spell,
 | 
						|
but no magical light counters or dispels it. 
 | 
						|
Furthermore, evil aligned creatures can see in this 
 | 
						|
darkness as if it were simply a dimly lighted area.
 | 
						|
 | 
						|
Arcane Material Component: A black stick, 6 inches 
 | 
						|
long, with humanoid blood smeared upon it.
 | 
						|
 | 
						|
Author:    Tenjac
 | 
						|
Created:   5/21/06
 | 
						|
 | 
						|
*/
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
 | 
						|
#include "prc_inc_spells"
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
	object oTarget = GetExitingObject();
 | 
						|
	object oCreator = GetAreaOfEffectCreator();
 | 
						|
	int bValid = FALSE;
 | 
						|
	effect eAOE;
 | 
						|
	
 | 
						|
	PRCSetSchool(SPELL_SCHOOL_CONJURATION);
 | 
						|
	
 | 
						|
	//Search through the valid effects on the target.
 | 
						|
	eAOE = GetFirstEffect(oTarget);
 | 
						|
	while (GetIsEffectValid(eAOE))
 | 
						|
	{
 | 
						|
		int nType = GetEffectType(eAOE);
 | 
						|
		int nID = GetEffectSpellId(eAOE);
 | 
						|
		
 | 
						|
		if((nID== SPELL_UTTERDARK) && (GetEffectCreator(eAOE) == oCreator)
 | 
						|
		&& nType != EFFECT_TYPE_AREA_OF_EFFECT)
 | 
						|
		{
 | 
						|
			RemoveEffect(oTarget, eAOE);
 | 
						|
		}
 | 
						|
		
 | 
						|
		//Get next effect on the target
 | 
						|
		eAOE = GetNextEffect(oTarget);                
 | 
						|
	}
 | 
						|
	
 | 
						|
	PRCSetSchool();
 | 
						|
}
 | 
						|
			 |