mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-15 20:56:29 -05:00
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
24
nwn/trunk/spells/sp_acidstorm.nss
Normal file
24
nwn/trunk/spells/sp_acidstorm.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
#include "spinc_burst"
|
||||
#include "prc_inc_spells"
|
||||
#include "prc_add_spell_dc"
|
||||
void main()
|
||||
{
|
||||
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
|
||||
if (!X2PreSpellCastCode()) return;
|
||||
|
||||
// Get the number of damage dice.
|
||||
int nCasterLvl = PRCGetCasterLevel(OBJECT_SELF);
|
||||
|
||||
int nDice = nCasterLvl;
|
||||
if (nDice > 15) nDice = 15;
|
||||
|
||||
// Acid storm is a huge burst doing 1d6 / lvl acid damage (15 cap)
|
||||
DoBurst (nCasterLvl,6, 0, nDice,
|
||||
VFX_FNF_ACIDSTORM, VFX_IMP_ACID_S,
|
||||
RADIUS_SIZE_HUGE, DAMAGE_TYPE_ACID, DAMAGE_TYPE_ACID, SAVING_THROW_TYPE_ACID,
|
||||
FALSE, SPELL_SCHOOL_EVOCATION, GetSpellId());
|
||||
|
||||
// Add some extra sfx.
|
||||
//PlaySound("sco_swar3blue");
|
||||
}
|
||||
Reference in New Issue
Block a user