mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-03-18 17:39:23 -04:00
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
37
nwn/trunk/psionics/psi_unavoid_strk.nss
Normal file
37
nwn/trunk/psionics/psi_unavoid_strk.nss
Normal file
@@ -0,0 +1,37 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Unavoidable Strike spellscript
|
||||
//:: psi_unavoid_strk
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Expends psionic focus to resolve the first
|
||||
attack of the round as a touch attack.
|
||||
|
||||
Can only be used while unarmed.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: 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)
|
||||
{
|
||||
SendMessageToPC(oPC, "You must be unarmed to use this feat");
|
||||
return;
|
||||
}
|
||||
|
||||
PerformAttackRound(oTarget, oPC, eDummy, 0.0, 0, 0, 0, FALSE, "Unavoidable Strike Hit", "Unavoidable Strike Miss", FALSE, TRUE);
|
||||
}
|
||||
Reference in New Issue
Block a user