Further file organization
Further file organization
This commit is contained in:
50
nwn/nwnprc/trunk/newspellbook/tob_dw_distembr.nss
Normal file
50
nwn/nwnprc/trunk/newspellbook/tob_dw_distembr.nss
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
----------------
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user