2026/04/27 Update
Updated expanded spells & abilities. Updated PEPS. Updated Markshire Nomeclature. Full compile.
This commit is contained in:
@@ -30,7 +30,7 @@ Created: 3/26/05
|
||||
|
||||
#include "prc_inc_spells"
|
||||
#include "prc_add_spell_dc"
|
||||
void FesterLoop(object oTarget, int nConc, int nHP)
|
||||
void FesterLoop(object oTarget, int nConc, int nHP, object oPC)
|
||||
{
|
||||
if (nConc == FALSE)
|
||||
{
|
||||
@@ -38,6 +38,7 @@ void FesterLoop(object oTarget, int nConc, int nHP)
|
||||
}
|
||||
|
||||
int nDam = d6(20);
|
||||
nDam += SpellDamagePerDice(oPC, 2);
|
||||
nHP = GetCurrentHitPoints(oTarget);
|
||||
effect eDam = PRCEffectDamage(oTarget, nDam, DAMAGE_TYPE_MAGICAL);
|
||||
|
||||
@@ -54,7 +55,7 @@ void FesterLoop(object oTarget, int nConc, int nHP)
|
||||
}
|
||||
|
||||
//Loop
|
||||
DelayCommand(6.0f, FesterLoop(oTarget, nConc, nHP));
|
||||
DelayCommand(6.0f, FesterLoop(oTarget, nConc, nHP, oPC));
|
||||
|
||||
}
|
||||
|
||||
@@ -81,7 +82,7 @@ void main()
|
||||
{
|
||||
if(!PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nDC, SAVING_THROW_TYPE_EVIL, oPC, 1.0))
|
||||
{
|
||||
FesterLoop(oTarget, nConc, nHP);
|
||||
FesterLoop(oTarget, nConc, nHP, oPC);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user