2025/12/31 Update
Happy New Year! Added Defensive Manifestation for psionics users. Removed Talent from Grapple Combat Ability so AI wouldn't use it. Charnel Touch is unlimited uses & shouldn't cause an AoO. Switched Rain of Fire to use PRCEffectDamage(). Fixed issue where initiator couldn't take a maneuver in a 2nd sword magic class when having the prereq manuevers from a previous sword magic class. Set Archetypal Form on Sphere of Ultimate Destruction. Set Archetypal Form on Black Blade of Disaster. Added missing immunities to Blighter's Undead WIldshape. Removed incorrect prereq from Claw at the Moon's TLK entry. Fixed pluralized Undead Wildshapes. NPC death always cleans up a grapple.
This commit is contained in:
@@ -819,6 +819,25 @@ struct manifestation EvaluateManifestation(object oManifester, object oTarget, s
|
||||
// Psionic focus loss from using metapsionics. Has a side effect of telling the manifester which metapsionics were actually active
|
||||
PayMetapsionicsFocuses(manif);
|
||||
}
|
||||
|
||||
if(GetLocalInt(oManifester, "PRC_DefensiveManifestActive"))
|
||||
{
|
||||
// Concentration check (DC 15 + power level)
|
||||
int nPowerLevel = GetPowerLevel(oManifester);
|
||||
int nDC = 15 + nPowerLevel;
|
||||
|
||||
if(!GetPRCIsSkillSuccessful(oManifester, SKILL_CONCENTRATION, nDC))
|
||||
{
|
||||
// Failed - PP already deducted, but prevent manifestation
|
||||
manif.bCanManifest = FALSE;
|
||||
SendMessageToPC(oManifester, "Defensive manifestion concentration check failed.");
|
||||
return manif;
|
||||
}
|
||||
|
||||
// Set defensive flag for any other systems that need it
|
||||
SendMessageToPC(oManifester, "Defensive manifestion concentration check successful.");
|
||||
manif.bDefensive = TRUE;
|
||||
}
|
||||
|
||||
//* APPLY SIDE-EFFECTS THAT RESULT FROM SUCCESSFULL MANIFESTATION HERE *//
|
||||
// Psicraft for all those who can see
|
||||
|
||||
Reference in New Issue
Block a user