Files
PRC8/nwn/nwnprc/trunk/scripts/ft_choke_hold.nss
Jaysyn904 41a3c945f9 2026/02/14 Updates
Updated PRC8 version.
Hathran can now select an ethran as a cohort.
Preliminary Circle Magic work done.
Added Choke Hold, Pain Touch, Ki Shout, Great Ki Shout, Freezing the Lifeblood, Falling Star Strikea nd Unbalancing Strike feats.
Warforged get Immunity Energy Drain, not Immunity: Ability Drain.
Forsakers can use alchemical items.
Added VectorToPerpendicular().
Added GetIsAlchemical().
Added GenerateRandomName().
Added _DoChokeHold().
Updated Shaman bonus feat list.
Updated fighter bonus feat lists.
Added Favored of the Companions to the Vow of Poverty bonus feat list.
Ur-Priest can't enter RKV, BFZ or Thrall of Orcus.
2026-02-14 19:53:55 -05:00

58 lines
1.5 KiB
Plaintext

//:://////////////////////////////////////////////////////////////////
//:: ;-. ,-. ,-. ,-.
//:: | ) | ) / ( )
//:: |-' |-< | ;-:
//:: | | \ \ ( )
//:: ' ' ' `-' `-'
//:://////////////////////////////////////////////////////////////////
//;;
//:: ft_choke_hold.nss
//;:
//:://////////////////////////////////////////////////////////////////
//:
/*
Choke Hold
(Oriental Adventures, p. 61)
[General]
You have learned the correct way to apply pressure to render an
opponent unconscious.
Prerequisite
Improved Unarmed Strike, Improved Grapple, Stunning Fist
Required for
Mighty Works Mastery I
Benefit
If you pin your opponent while grappling and maintain the pin for
1 full round, at the end of the round your opponent must make a
Fortitude saving throw (DC 10 + 1/2 your level + your Wisdom
modifier). If the saving throw fails, your opponent falls
unconscious for 1d3 rounds.
*/
//:
//:://////////////////////////////////////////////////////////////////
//::
//:: Created by: Jaysyn
//:: Created on: 2026-02-13 20:54:17
//::
//:://////////////////////////////////////////////////////////////////
#include "prc_inc_combmove"
void main()
{
object oPC = OBJECT_SELF;
object oTarget = GetSpellTargetObject();
// First, initiate a grapple. If this fails, attack normally.
if (!DoGrapple(oPC, oTarget, 0, TRUE, FALSE))
{
AssignCommand(oPC, ActionAttack(oTarget));
return;
}
DoGrappleOptions(oPC, oTarget, 0, GRAPPLE_PIN);
}