Added "Removed Files" folder
Added "Removed Files" folder in case we needed to review any of them.
This commit is contained in:
50
_removed files/x0_s0_firebrand.nss
Normal file
50
_removed files/x0_s0_firebrand.nss
Normal file
@@ -0,0 +1,50 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Firebrand
|
||||
//:: x0_x0_Firebrand
|
||||
//:: Copyright (c) 2002 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
// * Fires a flame arrow to every target in a
|
||||
// * colossal area
|
||||
// * Each target explodes into a small fireball for
|
||||
// * 1d6 damage / level (max = 15 levels)
|
||||
// * Only nLevel targets can be affected
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Brent
|
||||
//:: Created On: July 29 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
|
||||
|
||||
|
||||
int nDamage = GetCasterLevel(OBJECT_SELF);
|
||||
if (nDamage > 25)
|
||||
nDamage = 25;
|
||||
|
||||
DoMissileStorm(nDamage, 25, SPELL_FIREBRAND, VFX_IMP_MIRV_FLAME, VFX_IMP_FLAME_M, DAMAGE_TYPE_FIRE, TRUE, TRUE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user