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.
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*
 | |
|    ----------------
 | |
|    Deny Passage
 | |
| 
 | |
|    true_utr_dnypas
 | |
|    ----------------
 | |
| 
 | |
|     4/9/06 by Stratovarius
 | |
| */ /** @file
 | |
| 
 | |
|     Deny Passage
 | |
| 
 | |
|     Level: Perfected Map 4
 | |
|     Range: 100 feet
 | |
|     Area: 20' Radius
 | |
|     Duration: 1 Minute
 | |
|     Spell Resistance: No
 | |
|     Save: None
 | |
|     Metautterances: Extend
 | |
| 
 | |
|     You force an area to deny access to a group of creatures specified by your utterance. 
 | |
|     Hostile creatures cannot enter or exit the area of effect.
 | |
| */
 | |
| 
 | |
| #include "true_inc_trufunc"
 | |
| #include "true_utterhook"
 | |
| //#include "prc_alterations"
 | |
| 
 | |
| void main()
 | |
| {
 | |
| /*
 | |
|   Spellcast Hook Code
 | |
|   Added 2006-7-19 by Stratovarius
 | |
|   If you want to make changes to all utterances
 | |
|   check true_utterhook to find out more
 | |
| 
 | |
| */
 | |
| 
 | |
|     if (!TruePreUtterCastCode())
 | |
|     {
 | |
|     // If code within the PreUtterCastHook (i.e. UMD) reports FALSE, do not run this spell
 | |
|         return;
 | |
|     }
 | |
| 
 | |
| // End of Spell Cast Hook
 | |
| 
 | |
|     object oTrueSpeaker = OBJECT_SELF;
 | |
|     object oTarget      = PRCGetSpellTargetObject();
 | |
|     struct utterance utter = EvaluateUtterance(oTrueSpeaker, oTarget, METAUTTERANCE_EXTEND, LEXICON_PERFECTED_MAP);
 | |
| 
 | |
|     if(utter.bCanUtter)
 | |
|     {
 | |
|         // This is done so Speak Unto the Masses can read it out of the structure
 | |
|         utter.fDur       = RoundsToSeconds(10);
 | |
|         if(utter.bExtend) utter.fDur *= 2;
 | |
|         
 | |
|        	// eLink is used for Duration Effects (Buff/Penalty to AC)
 | |
|       	utter.eLink = EffectAreaOfEffect(AOE_PER_DENY_PASSAGE);
 | |
|       	
 | |
|         // Duration Effects
 | |
|         ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, utter.eLink, PRCGetSpellTargetLocation(), utter.fDur);
 | |
| 
 | |
|         // Mark for the Law of Sequence. This only happens if the utterance succeeds, which is why its down here.
 | |
|         DoLawOfSequence(oTrueSpeaker, utter.nSpellId, utter.fDur);
 | |
|     }// end if - Successful utterance
 | |
| }
 |