Fixed Incandescent Champion not getting Essentia
Fixed Incandescent Champion not getting Essentia & Thrallherd getting the wrong bonus powers. (thanks @barmlot)
This commit is contained in:
parent
31331675fa
commit
50f3cd7c0a
@ -1485,6 +1485,7 @@ int GetTotalEssentia(object oMeldshaper)
|
|||||||
if (GetLevelByClass(CLASS_TYPE_NECROCARNATE, oMeldshaper)) nEssentia += GetLocalInt(oMeldshaper, "NecrocarnumEssentia");
|
if (GetLevelByClass(CLASS_TYPE_NECROCARNATE, oMeldshaper)) nEssentia += GetLocalInt(oMeldshaper, "NecrocarnumEssentia");
|
||||||
if (GetLevelByClass(CLASS_TYPE_WITCHBORN_BINDER, oMeldshaper) >= 2) nEssentia += 1;
|
if (GetLevelByClass(CLASS_TYPE_WITCHBORN_BINDER, oMeldshaper) >= 2) nEssentia += 1;
|
||||||
if (GetLevelByClass(CLASS_TYPE_WITCHBORN_BINDER, oMeldshaper) >= 6) nEssentia += 1;
|
if (GetLevelByClass(CLASS_TYPE_WITCHBORN_BINDER, oMeldshaper) >= 6) nEssentia += 1;
|
||||||
|
if (GetLevelByClass(CLASS_TYPE_INCANDESCENT_CHAMPION, oMeldshaper)) nEssentia += GetMaxEssentiaCount(oMeldshaper, CLASS_TYPE_INCANDESCENT_CHAMPION);
|
||||||
|
|
||||||
nEssentia += IncarnumFeats(oMeldshaper);
|
nEssentia += IncarnumFeats(oMeldshaper);
|
||||||
if (DEBUG) DoDebug("GetTotalEssentia return value "+IntToString(nEssentia));
|
if (DEBUG) DoDebug("GetTotalEssentia return value "+IntToString(nEssentia));
|
||||||
|
@ -25,7 +25,7 @@ void main()
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
if(DEBUG) DoDebug("psi_thrallherd: Adding Psionic Charm");
|
if(DEBUG) DoDebug("psi_thrallherd: Adding Psionic Charm");
|
||||||
AddPowerKnown(oPC, nClass, 11, TRUE, GetHitDice(oPC));
|
AddPowerKnown(oPC, nClass, 12, TRUE, GetHitDice(oPC));
|
||||||
SetKnownPowersModifier(oPC, nClass, ++nPowerTotal);
|
SetKnownPowersModifier(oPC, nClass, ++nPowerTotal);
|
||||||
SetPersistantLocalInt(oPC, "PRC_Thrallherd_CharmGained", TRUE);
|
SetPersistantLocalInt(oPC, "PRC_Thrallherd_CharmGained", TRUE);
|
||||||
}
|
}
|
||||||
@ -35,7 +35,7 @@ void main()
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
if(DEBUG) DoDebug("psi_thrallherd: Adding Psionic Dominate");
|
if(DEBUG) DoDebug("psi_thrallherd: Adding Psionic Dominate");
|
||||||
AddPowerKnown(oPC, nClass, 167, TRUE, GetHitDice(oPC));
|
AddPowerKnown(oPC, nClass, 193, TRUE, GetHitDice(oPC));
|
||||||
SetKnownPowersModifier(oPC, nClass, ++nPowerTotal);
|
SetKnownPowersModifier(oPC, nClass, ++nPowerTotal);
|
||||||
SetPersistantLocalInt(oPC, "PRC_Thrallherd_DominateGained", TRUE);
|
SetPersistantLocalInt(oPC, "PRC_Thrallherd_DominateGained", TRUE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user