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