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.
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: Mazimize Power switch
 | 
						|
//:: psi_meta_max
 | 
						|
//::///////////////////////////////////////////////
 | 
						|
/*
 | 
						|
    Switches the metapsionic feat Mazimize Power on or off.
 | 
						|
*/
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:: Modified By: Ornedan
 | 
						|
//:: Modified On: 25.03.2005
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
 | 
						|
#include "psi_inc_psifunc"
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    object oPC = OBJECT_SELF;
 | 
						|
 | 
						|
    // Can't activate too many feats
 | 
						|
    if(!GetLocalInt(oPC, METAPSIONIC_MAXIMIZE_VAR) &&
 | 
						|
       GetPsionicFocusUsingFeatsActive(oPC) >= GetPsionicFocusUsesPerExpenditure(oPC))
 | 
						|
    {
 | 
						|
        FloatingTextStringOnCreature(GetStringByStrRef(16826549/*You already have the maximum amount of psionic focus expending feats active.*/), oPC, FALSE);
 | 
						|
        return;
 | 
						|
    }
 | 
						|
 | 
						|
    SetLocalInt(oPC, METAPSIONIC_MAXIMIZE_VAR, !GetLocalInt(oPC, METAPSIONIC_MAXIMIZE_VAR));
 | 
						|
    FloatingTextStringOnCreature(GetStringByStrRef(16826538) + " " + (GetLocalInt(oPC, METAPSIONIC_MAXIMIZE_VAR) ? GetStringByStrRef(63798/*Activated*/):GetStringByStrRef(63799/*Deactivated*/)), oPC, FALSE);
 | 
						|
} |