PRC8/nwn/nwnprc/trunk/newspellbook/tob_dpst_mntfrta.nss
Jaysyn904 8a034b0da0 2025/05/25 Update
Updated all ToB maneuvers with saves to respect Blade Meditation.
Added HasBladeMeditationForDiscipline()
Expanded Witchborn Binder for epic progression.
Fixed a few bugs around Vile Martial strike.
Echo Spell shouldn't target self or items.
Muckdweller should have a -6 STR.
Added new Vile Martial feats to GetVileFeats().
Grappling something now removes invisibility.
Started on Power Attack NUI.
Starmantle shouldn't stack.
Factotum & Shadow Thief of Amn require UMD checks for scroll casting.
2025-05-25 16:16:36 -04:00

44 lines
1.1 KiB
Plaintext

/*
----------------
Mountain Fortress Stance
tob_dpst_mntfrt
----------------
27/01/08 by Stratovarius
*/ /** @file
Mountain Fortress Stance
Deepstone Sentinel level 1
You crouch and set your feet flat on the ground, drawing
the resilience of the earth into your body.
You gain a +1 bonus to attacks from being on higher ground, and any creature attempting to fight you in
melee combat must attempt a DC 10 Balance check or fall prone.
This stance ends if you move more than 5 feet for any reason.
*/
#include "tob_inc_tobfunc"
#include "tob_movehook"
////#include "prc_alterations"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
object oInitiator = GetAreaOfEffectCreator(OBJECT_SELF);
int nDC = 10;
int nBladeMed = HasBladeMeditationForDiscipline(oInitiator, DISCIPLINE_STONE_DRAGON);
if (nBladeMed)
{
nDC += 1;
}
// Cleaned up on exit
if (!GetIsSkillSuccessful(oTarget, SKILL_BALANCE, nDC) && GetIsEnemy(oTarget, GetAreaOfEffectCreator()))
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, ExtraordinaryEffect(EffectKnockdown()), oTarget, 6.0);
}