2026/04/27 Update

Fighter was missing Weapon Proficiency: Scythe.
Tentative fix for Sweeping Strike + Eldritch Glaive.
Fixed Necrocarnum Weapon reducing AB.
Updated creature abilities to more closely follow PnP.
Updated tlk for Sanctified & Holy Ki Strike.
This commit is contained in:
Jaysyn904
2026-04-27 10:31:20 -04:00
parent b5be848a4e
commit f397206b74
54 changed files with 2062 additions and 1774 deletions

View File

@@ -15,10 +15,12 @@
void main()
{
//Declare major variables
int nHD = GetHitDice(GetAreaOfEffectCreator());
nHD = nHD/3+1;
int nDC = 10 + nHD/3;
//:: Declare major variables
object oNPC = GetAreaOfEffectCreator();
int nHD = GetHitDice(oNPC);
int nZap = 1 + (nHD / 3);
int nCHAMod = GetAbilityModifier(ABILITY_CHARISMA, oNPC);
int nDC = 10 + nCHAMod + (nHD/2);
int nDamage;
effect eDam;
effect eVis = EffectVisualEffect(VFX_IMP_LIGHTNING_S);
@@ -28,7 +30,7 @@ void main()
{
if(GetIsEnemy(oTarget, GetAreaOfEffectCreator()))
{
nDamage = d4(nHD);
nDamage = d4(nZap);
//Fire cast spell at event for the specified target
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, SPELLABILITY_AURA_ELECTRICITY));
//Make a saving throw check
@@ -38,8 +40,8 @@ void main()
}
eDam = PRCEffectDamage(oTarget, nDamage, DAMAGE_TYPE_ELECTRICAL);
//Apply the VFX impact and effects
ApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oTarget);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oTarget);
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
}
//Get next target in spell area
oTarget = GetNextInPersistentObject();