//:://///////////////////////////////////////////// //:: Isaacs Greater Missile Storm //:: x0_s0_MissStorm2 //:: Copyright (c) 2002 Bioware Corp. //::////////////////////////////////////////////// /* Up to 20 missiles, each doing 3d6 damage to each target in area. */ //::////////////////////////////////////////////// //:: Created By: Brent //:: Created On: July 31, 2002 //::////////////////////////////////////////////// //:: Last Updated By: #include "X0_I0_SPELLS" #include "x2_inc_spellhook" void main() { /* 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 //Epic Adjustment Added By Genisys int nInt; int nDD; object oCaster = OBJECT_SELF; int nCL = GetCasterLevel(oCaster); //If caster level is 22 or higher.. if(nCL >21) { int nEL = nCL - 20; int nDiv = nEL / 2; nInt = nDiv + 10; //10 + 1 / 2 levels over level 10 //(25 Max Total Missles) //end if Level Check } //If not greater than level 21, then 10 is the max level cap else { nInt = 10; } DoMissileStorm(2, nInt, SPELL_ISAACS_GREATER_MISSILE_STORM); }