Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,39 @@
//::///////////////////////////////////////////////
//:: Greater Psionic Fist spellscript
//:: psi_g_psi_fist
//::///////////////////////////////////////////////
/*
Performs an attack round with +4d6 damage bonus
on the first attack.
Requires that the user is unarmed.
Using Greater 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(4), DAMAGE_TYPE_MAGICAL, FALSE, "Greater Psionic Fist Hit", "Greater Psionic Fist Miss");
}