PRC8/nwn/nwnprc/trunk/newspellbook/tob_dw_distembr.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

50 lines
1.2 KiB
Plaintext

/*
----------------
Distracting Ember
tob_dw_brnbld.nss
----------------
28/03/07 by Stratovarius
*/ /** @file
Distracting Ember
Desert Wind (Boost)
Level: Swordsage 1
Initiation Action: 1 Swift Action
Range: Personal.
Effect: One Summoned Fire Elemental
Duration: 1 Round.
A wave of heat sweeps over the area, forms a small dust funnel, and ignites into flame next to your foe.
You summon a small fire elemental.
This is a supernatural maneuver.
*/
#include "tob_inc_move"
#include "tob_movehook"
////#include "prc_alterations"
void main()
{
if (!PreManeuverCastCode())
{
// If code within the PreManeuverCastCode (i.e. UMD) reports FALSE, do not run this spell
return;
}
// End of Spell Cast Hook
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
{
effect eSummonedMonster = EffectSummonCreature("tob_dw_distembr", VFX_FNF_SUMMON_MONSTER_1);
eSummonedMonster = SupernaturalEffect(eSummonedMonster);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eSummonedMonster, PRCGetSpellTargetLocation(), 6.0);
}
}