Expanded spells for PoA .35
Expanded spells for PoA .35
This commit is contained in:
50
35expandedspells/x0_s0_missstorm1.nss
Normal file
50
35expandedspells/x0_s0_missstorm1.nss
Normal file
@@ -0,0 +1,50 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Isaacs Lesser Missile Storm
|
||||
//:: x0_s0_MissStorm1
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Up to 10 missiles, each doing 1d6 damage to all
|
||||
targets in area.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Brent
|
||||
//:: Created On: July 31, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Last Updated By:
|
||||
|
||||
//:: altered by mr_bumpkin Dec 4, 2003 for prc stuff
|
||||
#include "spinc_bolt"
|
||||
#include "prc_add_spell_dc"
|
||||
|
||||
void main()
|
||||
{
|
||||
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
|
||||
SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_EVOCATION);
|
||||
/*
|
||||
Spellcast Hook Code
|
||||
Added 2003-06-20 by Georg
|
||||
If you want to make changes to all spells,
|
||||
check x2_inc_spellhook.nss to find out more
|
||||
|
||||
*/
|
||||
int nClass = GetLevelByClass(CLASS_TYPE_FMM);
|
||||
|
||||
int nCasterLvl = PRCGetCasterLevel(OBJECT_SELF);
|
||||
if (!X2PreSpellCastCode())
|
||||
{
|
||||
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
|
||||
return;
|
||||
}
|
||||
|
||||
// End of Spell Cast Hook
|
||||
|
||||
//SpawnScriptDebugger();
|
||||
PRCDoMissileStorm(1+(nCasterLvl/13), 10+(nClass/5)+(nCasterLvl/10), SPELL_ISAACS_LESSER_MISSILE_STORM);
|
||||
|
||||
|
||||
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
|
||||
// Erasing the variable used to store the spell's spell school
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user