2025/05/06 Update

Aura of Triumph is a Touch spell.
Torch & Shuriken are monk weapons.
Expansion, Compression, etc should affect unarmed damage.
Swordsage gets no AC bonus in robes. (Stupid but RAW).
Treewalk now uses the point & click dimension door.
This commit is contained in:
Jaysyn904
2025-05-06 15:51:43 -04:00
parent 46c50ae362
commit c0239d02f1
7 changed files with 55 additions and 11 deletions

View File

@@ -1163,6 +1163,8 @@ int GetIsMonkWeaponTypeOrUnarmed(int iWeaponType)
return ( iWeaponType == BASE_ITEM_INVALID
|| iWeaponType == BASE_ITEM_KAMA
|| iWeaponType == BASE_ITEM_SAI
|| iWeaponType == BASE_ITEM_TORCH
|| iWeaponType == BASE_ITEM_SHURIKEN
|| iWeaponType == BASE_ITEM_NUNCHAKU
);
}

View File

@@ -306,6 +306,20 @@ int FindUnarmedDamage(object oCreature)
// For Initiate of Draconic Mysteries
if (GetHasFeat(FEAT_INCREASE_DAMAGE2, oCreature)) iDieIncrease = 2;
else if (GetHasFeat(FEAT_INCREASE_DAMAGE1, oCreature)) iDieIncrease = 1;
//:: Expansion / Compression powers
int nExpansion = GetLocalInt(oCreature, "PRC_Power_Expansion_SizeIncrease");
int nCompression = GetLocalInt(oCreature, "PRC_Power_Compression_SizeReduction");
if (nExpansion)
{
iSize += nExpansion;
}
if (nCompression)
{
iSize -= nCompression;
}
iMonkDamage += iDieIncrease;
iShouDamage += iDieIncrease;
@@ -572,3 +586,5 @@ float DamageAvg(int iDamage)
return IntToFloat(iNum * (iDie+1)) / 2;
}
//:: void main (){}