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.
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
/*
|
|
----------------
|
|
Crashing Mountain Juggernaught
|
|
|
|
tob_dpst_crhmntj
|
|
----------------
|
|
|
|
27/01/08 by Stratovarius
|
|
*/ /** @file
|
|
|
|
Crashing Mountain Juggernaught
|
|
|
|
Deepstone Sentinel level 2
|
|
|
|
You rush down from the pillar like a living avalanche, tumbling your foes before you.
|
|
|
|
You end your Mountain Fortress Stance, causing all those adjacent to you to make DC 15 Balance checks
|
|
or fall prone. You charge a single foe with a +2d6 damage bonus.
|
|
You must be in the Mountain Fortress Stance to use this ability.
|
|
*/
|
|
|
|
#include "tob_inc_move"
|
|
#include "prc_inc_combmove"
|
|
|
|
void main()
|
|
{
|
|
object oInitiator = OBJECT_SELF;
|
|
object oTarget = PRCGetSpellTargetObject();
|
|
if (GetHasSpellEffect(MOVE_MOUNTAIN_FORTRESS, oInitiator))
|
|
{
|
|
PRCRemoveEffectsFromSpell(oInitiator, MOVE_MOUNTAIN_FORTRESS);
|
|
object oProneTarget = MyFirstObjectInShape(SHAPE_SPHERE, FeetToMeters(10.0), GetLocation(oInitiator));
|
|
while(GetIsObjectValid(oProneTarget))
|
|
{
|
|
int nDC = 15;
|
|
|
|
int nBladeMed = HasBladeMeditationForDiscipline(oInitiator, GetDisciplineByManeuver(PRCGetSpellId()));
|
|
if (nBladeMed)
|
|
{
|
|
nDC += 1;
|
|
}
|
|
|
|
// Skill check
|
|
if (!GetIsSkillSuccessful(oProneTarget, SKILL_BALANCE, nDC))
|
|
{
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, ExtraordinaryEffect(EffectKnockdown()), oProneTarget, 6.0);
|
|
}
|
|
|
|
oProneTarget = MyNextObjectInShape(SHAPE_SPHERE, FeetToMeters(10.0), GetLocation(oInitiator));
|
|
}
|
|
|
|
// Now the Charge
|
|
DoCharge(oInitiator, oTarget, TRUE, TRUE, d6(2), -1);
|
|
}
|
|
else
|
|
FloatingTextStringOnCreature("You are not in Mountain Fortress Stance.", oInitiator, FALSE);
|
|
} |