PRC8/nwn/nwnprc/trunk/newspellbook/tob_dpst_drgtth.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

38 lines
1.1 KiB
Plaintext

/*
----------------
Dragon's Tooth
tob_dpst_drgtth
----------------
27/01/08 by Stratovarius
*/ /** @file
Dragon's Tooth
Deepstone Sentinel level 4
You cause a pillar of earth to erupt, tossing foes to the ground.
You cause a 10 foot tall pillar of stone to appear, tossing enemies to the ground.
*/
#include "prc_inc_spells"
void main()
{
object oInitiator = OBJECT_SELF;
object oCreature = CreateObject(OBJECT_TYPE_PLACEABLE, "tob_dpst_pillar", PRCGetSpellTargetLocation());
object oProneTarget = MyFirstObjectInShape(SHAPE_SPHERE, FeetToMeters(10.0), GetLocation(oInitiator));
while(GetIsObjectValid(oProneTarget))
{
// Save check
if (!PRCMySavingThrow(SAVING_THROW_WILL, oProneTarget, (10 + GetHitDice(oInitiator)/2 + GetAbilityModifier(ABILITY_STRENGTH, oInitiator))))
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, ExtraordinaryEffect(EffectKnockdown()), oProneTarget, 6.0);
}
oProneTarget = MyNextObjectInShape(SHAPE_SPHERE, FeetToMeters(10.0), GetLocation(oInitiator));
}
}