Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "prc_inc_spells"
#include "spinc_burst"
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 > 10) nDice = 10;
// Ice burst is a colossal radius burst doing 1d4+10/level (cap at 10) cold damage.
DoBurst (nCasterLvl,4, 1, nDice,
VFX_FNF_ICESTORM, VFX_IMP_FROST_S,
RADIUS_SIZE_GARGANTUAN, DAMAGE_TYPE_COLD, DAMAGE_TYPE_BLUDGEONING, SAVING_THROW_TYPE_COLD);
}