//:://///////////////////////////////////////////// //:: 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: //:: modified 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 */ if (!X2PreSpellCastCode()) { // If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell return; } // End of Spell Cast Hook //SpawnScriptDebugger(); 503 PRCDoMissileStorm(1, 15, GetSpellId(), 503,VFX_IMP_LIGHTNING_S ,ChangedElementalDamage(OBJECT_SELF, DAMAGE_TYPE_ELECTRICAL)); DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR"); // Erasing the variable used to store the spell's spell school }