Further to my above, rather lacking statement...
currently the spell gives an AC_ARMOUR_ENCHANTMENT_BONUS which means it doesn't
stack with say.... magic robes +1 armour enchantment, while it does stack with average joes full plate mail.
Looking at the script and the available constants, Obsidian removed the AC_ARMOR_BONUS constant, which would make the spell stack with enchantments but not with the basic armour itself. With this constant missing, best way to fix it I can think of is a check for Armour value of the chest slot, have the eAC variable set to either 4 or that armour value, whichever is higher. This wont fix it not stacking with the +1 value of enchanted armour however, it'd be an improvement and likely not make a difference overall anyway.
Modified Spells
Moderators: ALFA Administrators, Staff - Technical
- Blindhamsterman
- Haste Bear
- Posts: 2396
- Joined: Fri Jun 04, 2004 11:13 am
- Location: GMT
- NESchampion
- Staff Head - Documentation
- Posts: 884
- Joined: Thu Jul 13, 2006 12:46 am
Re: Modified Spells
Does Mage Armor appropriately defend against incorporeal attacks in NWN2? If so, ensuring that Mage Armor still bestows the +4 AC vs. Incorporeal targets even if they characters armor value is higher than what mage armor normally gives would be good, if possible.Blindhamsterman wrote:Further to my above, rather lacking statement...
currently the spell gives an AC_ARMOUR_ENCHANTMENT_BONUS which means it doesn't
stack with say.... magic robes +1 armour enchantment, while it does stack with average joes full plate mail.
Looking at the script and the available constants, Obsidian removed the AC_ARMOR_BONUS constant, which would make the spell stack with enchantments but not with the basic armour itself. With this constant missing, best way to fix it I can think of is a check for Armour value of the chest slot, have the eAC variable set to either 4 or that armour value, whichever is higher. This wont fix it not stacking with the +1 value of enchanted armour however, it'd be an improvement and likely not make a difference overall anyway.
Current PC: Olaf - The Silver Marches
- Blindhamsterman
- Haste Bear
- Posts: 2396
- Joined: Fri Jun 04, 2004 11:13 am
- Location: GMT
Re: Modified Spells
there's a constant for AC VS ALL DAMAGE TYPES, I've not tested it, but I would guess that if used would ensure you always get the bonus...