2025/12/09 Update

Celebrant of Sharess is an Arcane class.
Fixed Acolyte of the Ego bonus feat bug.
Disabled Hidden Talent to change it to a conversation.
Fixed Force Missiles iprp name error.
Added default package for the healer class.
Fixed description for the Retrieve power.
Updated Healer's Celestial Companion class ability.
Added GetHealerCompanionBonus(), CelestialTemplateEffects(), json_UpdateCelestialCR(), MakeCelestialCompanionFromTemplate() and MakeCelestialCreatureFromTemplate()
Fixed Nezumi's Hardiness vs. Disease ability.
Fixed Avalanche of Blades.
Stopped War Domain from constantly running on NPCs.
Sorcerous RHD casters can enter Dragon Disciple.
Added some reference material to notes.
This commit is contained in:
Jaysyn904
2025-12-09 23:59:28 -05:00
parent ce7d550670
commit 54386fc90c
32 changed files with 2610 additions and 1486 deletions

View File

@@ -56,32 +56,30 @@ void main()
}
}
void Owieowieowowow(object oInitiator, object oTarget, int nHit, int nPenalty)
{
if (GetLocalInt(oInitiator, "SupernalAttack")) nPenalty += 1;
if (nHit == 1)
{
effect eNone;
PerformAttack(oTarget, oInitiator, eNone, 0.0, nPenalty, 0, 0, "Avalanche of Blades Hit", "Avalanche of Blades Miss");
// Check result of attack
if (GetLocalInt(oTarget, "PRCCombat_StruckByAttack"))
{
nPenalty -= 4;
if (GetLocalInt(oInitiator, "SupernalAttack")) nPenalty -= 1;
// Continue the loop only on hit
DelayCommand(0.1, Owieowieowowow(oInitiator, oTarget, 1, nPenalty));
DelayCommand(3.0, DeleteLocalInt(oTarget, "PRCCombat_StruckByAttack"));
}
// No else block: if the attack missed, don't queue another call
}
void Owieowieowowow(object oInitiator, object oTarget, int nHit, int nPenalty)
{
if (GetLocalInt(oInitiator, "SupernalAttack")) nPenalty += 1;
// Clear any existing hit flag before attacking
DeleteLocalInt(oTarget, "PRCCombat_StruckByAttack");
effect eNone;
PerformAttack(oTarget, oInitiator, eNone, 0.0, nPenalty, 0, 0, "Avalanche of Blades Hit", "Avalanche of Blades Miss");
// Check if the attack hit
if (GetLocalInt(oTarget, "PRCCombat_StruckByAttack"))
{
nHit = 1;
nPenalty -= 4;
// Make sure the bonus doesn't get passed around
if (GetLocalInt(oInitiator, "SupernalAttack")) nPenalty -= 1;
// Use longer delay to ensure flag is cleared before next attack
DelayCommand(1.1, Owieowieowowow(oInitiator, oTarget, nHit, nPenalty));
}
// If miss, function terminates (no recursive call)
}
/* void Owieowieowowow(object oInitiator, object oTarget, int nHit, int nPenalty)
{
if (GetLocalInt(oInitiator, "SupernalAttack")) nPenalty += 1;