Hathran Update

Expanded Hathran for epic progression.
Expanded Hathran Fear SLA for epic progression.
Fixed Hathran's clerical domain requirements.
This commit is contained in:
Jaysyn904
2025-04-26 01:02:29 -04:00
parent 04962acc20
commit 1384f5dcb5
11 changed files with 295 additions and 212 deletions

View File

@@ -2106,8 +2106,8 @@ const int FEAT_PRESTIGE_BREATH_OF_FLAME = 4035; // 2275
const int FEAT_HATH_COHORT = 2571; //CONSTANT
const int FEAT_HATH_COMMAND = 2572; //CONSTANT
const int FEAT_HATH_FEAR1 = 2575; //CONSTANT
const int FEAT_HATH_FEAR2 = 2576; //CONSTANT
const int FEAT_HATH_FEAR3 = 2577; //CONSTANT
const int FEAT_HATH_FEAR2 = 2576; //CONSTANT [DEFUNCT]
const int FEAT_HATH_FEAR3 = 2577; //CONSTANT [DEFUNCT]
//Vigilant class feats
const int FEAT_VIGIL_ARMOR = 2570; //CONSTANT

View File

@@ -1367,6 +1367,39 @@ void DomainUses(object oPC)
FeatUsePerDay(oPC, FEAT_PLANT_DOMAIN_POWER, ABILITY_CHARISMA, 3);
}
void HathranFear(object oPC)
{
if(!GetHasFeat(FEAT_HATH_FEAR1, oPC))
return;
int nLevel = GetLevelByClass(CLASS_TYPE_HATHRAN, oPC);
int nUses = 0;
// Base uses based on progression
if (nLevel >= 8)
{
nUses = 3;
}
else if (nLevel >= 6)
{
nUses = 2;
}
else if (nLevel >= 3)
{
nUses = 1;
}
// Add +1 per 3 levels gained above 9
if (nLevel > 9)
{
int nBonusLevels = nLevel - 9;
nUses += nBonusLevels / 3;
}
FeatUsePerDay(oPC, FEAT_HATH_FEAR1, -1, nUses);
}
void MephlingBreath(object oPC) //:: Mephlings
{
if(!GetHasFeat(FEAT_MEPHLING_BREATH, oPC))
@@ -2082,5 +2115,6 @@ void FeatSpecialUsePerDay(object oPC)
CrusaderSmite(oPC);
AnimaMage(oPC);
MephlingBreath(oPC);
HathranFear(oPC);
}