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.
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: Psionic Fist spellscript
 | 
						|
//:: psi_psionic_fist
 | 
						|
//::///////////////////////////////////////////////
 | 
						|
/*
 | 
						|
    Performs an attack round with +2d6 damage bonus
 | 
						|
    on the first attack.
 | 
						|
    Requires that the user is unarmed.
 | 
						|
 | 
						|
    Using Psionic Fist requires expending psionic focus.
 | 
						|
*/
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:: Modified By: Ornedan
 | 
						|
//:: Modified On: 22.03.2005
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
 | 
						|
#include "prc_inc_combat"
 | 
						|
#include "prc_feat_const"
 | 
						|
#include "psi_inc_psifunc"
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    object oPC = OBJECT_SELF;
 | 
						|
    object oTarget = PRCGetSpellTargetObject();
 | 
						|
    effect eDummy;
 | 
						|
 | 
						|
    if(!UsePsionicFocus(oPC)){
 | 
						|
        SendMessageToPC(oPC, "You must be psionically focused to use this feat");
 | 
						|
        return;
 | 
						|
    }
 | 
						|
 | 
						|
    if(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND) != OBJECT_INVALID)
 | 
						|
    {
 | 
						|
        SendMessageToPC(oPC, "You must be unarmed to use this feat");
 | 
						|
        return;
 | 
						|
    }
 | 
						|
 | 
						|
    PerformAttackRound(oTarget, oPC, eDummy, 0.0, 0, d6(2), DAMAGE_TYPE_MAGICAL, FALSE, "Psionic Fist Hit", "Psionic Fist Miss");
 | 
						|
} |