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.
		
			
				
	
	
		
			23 lines
		
	
	
		
			874 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			874 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#include "bnd_inc_bndfunc"
 | 
						|
#include "prc_inc_template"
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    object oBinder = OBJECT_SELF;
 | 
						|
    int nUses = 1;
 | 
						|
    int nSLA = GetSpellId(); 
 | 
						|
    
 | 
						|
    // Check uses per day
 | 
						|
    if (GetLegacyUses(oBinder, nSLA) >= nUses)
 | 
						|
    {
 | 
						|
        FloatingTextStringOnCreature("You have used " + GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", nSLA))) + " the maximum amount of times today.", oBinder, FALSE);
 | 
						|
        return;
 | 
						|
    }             
 | 
						|
    else
 | 
						|
    {
 | 
						|
		SetLegacyUses(oBinder, nSLA);
 | 
						|
    	FloatingTextStringOnCreature("You have "+IntToString(nUses - GetLegacyUses(oBinder, nSLA))+ " uses of " + GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", nSLA))) + " remaining today.", oBinder, FALSE);    		    		
 | 
						|
 | 
						|
    	DoRacialSLA(SPELL_TELEPORT_SELF, GetBinderLevel(oBinder, VESTIGE_DESHARIS), GetBinderDC(oBinder, VESTIGE_DESHARIS), FALSE);
 | 
						|
    }     
 | 
						|
} |