2025/05/25 Update

Updated all ToB maneuvers with saves to respect Blade Meditation.
Added HasBladeMeditationForDiscipline()
Expanded Witchborn Binder for epic progression.
Fixed a few bugs around Vile Martial strike.
Echo Spell shouldn't target self or items.
Muckdweller should have a -6 STR.
Added new Vile Martial feats to GetVileFeats().
Grappling something now removes invisibility.
Started on Power Attack NUI.
Starmantle shouldn't stack.
Factotum & Shadow Thief of Amn require UMD checks for scroll casting.
This commit is contained in:
Jaysyn904
2025-05-25 16:16:36 -04:00
parent 41e2f2b91c
commit 8a034b0da0
76 changed files with 3280 additions and 1090 deletions

View File

@@ -341,6 +341,16 @@ int BladeMeditationFeat(object oInitiator);
*/
int BladeMeditationDamage(object oInitiator, int nMoveId);
/**
* Returns 1 if Blade Meditation & Discipline match
* @param oInitiator Person to check
* @param nDiscipline Discipline to match
*
* @return 1 or 0
*/
int HasBladeMeditationForDiscipline(object oInitiator, int nDiscipline);
//////////////////////////////////////////////////
/* Includes */
//////////////////////////////////////////////////
@@ -1266,4 +1276,18 @@ int BladeMeditationDamage(object oInitiator, int nMoveId)
return 1;
return -1;
}
int HasBladeMeditationForDiscipline(object oInitiator, int nDiscipline)
{
if (!GetIsObjectValid(oInitiator))
return FALSE;
int nFeatDiscipline = BladeMeditationFeat(oInitiator);
// If the discipline for Blade Meditation matches the one we're checking, return true
if (nFeatDiscipline == nDiscipline)
return TRUE;
return FALSE;
}