PRC8/nwn/trunk/newspellbook/tob_dpst_crhmntj.nss
Jaysyn904 5914ed2ab5 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.
2023-08-22 10:00:21 -04:00

49 lines
1.5 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))
{
// Skill check
if (!GetIsSkillSuccessful(oProneTarget, SKILL_BALANCE, 15))
{
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);
}