2026/05/27 Update

Verminlord requires Eldritch Blast as a prereq.
Mettle branch in ApplyBreath() is fixed.
Zen Archery now applies to Rays / Eldritch Blast.
Runes will only support divine spells.
School Specialization shouldn't block multiclass Red Wizards of Thay from divine spells in their opposition schools.
Scepters, Runes, Skull Talismans & Attuned Gems are considered spell-completion items for RWoT School Specialization.
Fixed Acolyte of the Skin's Damage Reduction.  For real this time.
Sneak Attack now takes Daring Outlaw / Swashbuckler into consideration.
Updated Changelog.
This commit is contained in:
Jaysyn904
2026-05-27 15:53:01 -04:00
parent da1ff48ac3
commit b27d9d2e5f
8 changed files with 133 additions and 43 deletions

View File

@@ -3759,9 +3759,20 @@ int GetAttackBonus(object oDefender, object oAttacker, object oWeap, int iOffhan
&& GetHasFeat(FEAT_INTUITIVE_ATTACK, oAttacker) )
iAbilityBonus = iWis;
//touch attacks always use dex, no matter what. Therefore override any calculations we have done so far
//touch attacks always use dex, no matter what. Therefore override any calculations we have done so far
//unless it's a ranged touch attack and the attacker has Zen Archery with higher WIS
if(iTouchAttackType)
{
if((iTouchAttackType == TOUCH_ATTACK_RANGED || iTouchAttackType == TOUCH_ATTACK_RANGED_SPELL)
&& iWis > iDex && GetHasFeat(FEAT_ZEN_ARCHERY, oAttacker))
iAbilityBonus = iWis;
else
iAbilityBonus = iDex;
}
/* //touch attacks always use dex, no matter what. Therefore override any calculations we have done so far
if(iTouchAttackType)
iAbilityBonus = iDex;
iAbilityBonus = iDex; */
// Expertise penalties apply to all attack rolls
if (iCombatMode == COMBAT_MODE_EXPERTISE) iCombatModeBonus -= 5;