Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
//::///////////////////////////////////////////////
//:: Fell Shot spellscript
//:: psi_fell_shot
//:://////////////////////////////////////////////
/*
Expends psionic focus to resolve the first
attack of the round as a touch attack.
Can only be used while wielding a ranged weapon.
*/
//:://////////////////////////////////////////////
//:: Created By: Ornedan
//:: Created On: 24.03.2005
//:://////////////////////////////////////////////
#include "prc_inc_combat"
#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 ||
!GetWeaponRanged(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND)))
{
SendMessageToPC(oPC, "You must be wielding a ranged weapon to use this feat");
return;
}
PerformAttackRound(oTarget, oPC, eDummy, 0.0, 0, 0, 0, FALSE, "Fell Shot Hit", "Fell Shot Miss", FALSE, TRUE);
}