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.
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*
 | ||
| 12/03/21 by Stratovarius
 | ||
| 
 | ||
| Otiax, the Key to the Gate
 | ||
|   
 | ||
| The alien Otiax gives its summoners the power to open what is closed, to walk among the clouds, and to strike foes with fog that lands like a hammer.
 | ||
| 
 | ||
| Vestige Level: 5th
 | ||
| Binding DC: 25
 | ||
| Special Requirement: No
 | ||
| 
 | ||
| Influence: Otiax’s motives remain a mystery, but its influence is clear. When confronted with unopened doors or gates, you become agitated and nervous. This emotional 
 | ||
| state lasts until the door or gate is opened, or until you can no longer see it. Furthermore, Otiax cannot abide a lock remaining secured. Thus, whenever you see a 
 | ||
| key, Otiax requires that you use it to open the corresponding lock.
 | ||
| 
 | ||
| Granted Abilities: 
 | ||
| Otiax opens doors for you, lets you batter opponents with wind, and cloaks you in a protective fog that can actually lash out at foes.
 | ||
| 
 | ||
| Unlock: As a full-round action, you can unlock a single lock that you can touch, provided that its Open Lock DC is less than or equal to twice your effective binder 
 | ||
| level. Once you have used this ability, you cannot do so again for 5 rounds.
 | ||
| */
 | ||
| 
 | ||
| #include "bnd_inc_bndfunc"
 | ||
| 
 | ||
| void main()
 | ||
| {
 | ||
|     //Declare major variables
 | ||
|     object oBinder = OBJECT_SELF;
 | ||
|     int nBinderLevel = GetBinderLevel(oBinder, VESTIGE_OTIAX);
 | ||
|     object oLock = PRCGetSpellTargetObject();
 | ||
|     int nType = GetObjectType(oLock);
 | ||
|     if(GetLocked(oLock))
 | ||
|     {
 | ||
|     	if(!BindAbilCooldown(oBinder, GetSpellId(), VESTIGE_OTIAX)) return;
 | ||
|        
 | ||
|         if(nBinderLevel *2 >= GetLockUnlockDC(oLock))
 | ||
|         {
 | ||
|             SetLocked(oLock, FALSE);
 | ||
|         }
 | ||
|     }
 | ||
| } |