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:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user