8827 [CORE] Issues with "Max. HP Bonus" effect
argent77
Member Posts: 3,494
I have found several issues when using items that provide a max. HP bonus (effect opcode 18).
1. Items with different HP bonus modifiers don't properly stack.
I've tested it with the Spear of Kuldahar (which provides a fixed 8 HP bonus) and the Pale Green Ioun Stone (which provides a 10% HP bonus). When equipping the spear first, the HP bonus of the spear will be overridden by the Ioun Stone HP bonus. You'll get the correctly stacked HP bonus after reloading the save however. Equipping the Ioun Stone first will give you the full stone bonus and the full spear bonus immediately.
2. Current HP issues when equipping items with percentage max. HP bonus.
Equipping the Pale Green Ioun Stone gives you a 10% max. HP bonus. There appears to be an issue with the current HP value however. If you save the game with a fully healed character while the item is equipped, your current HP will be lower by one or more hit points when reloading the saved game.
I've attached a saved game to test the described issues.
1. Items with different HP bonus modifiers don't properly stack.
I've tested it with the Spear of Kuldahar (which provides a fixed 8 HP bonus) and the Pale Green Ioun Stone (which provides a 10% HP bonus). When equipping the spear first, the HP bonus of the spear will be overridden by the Ioun Stone HP bonus. You'll get the correctly stacked HP bonus after reloading the save however. Equipping the Ioun Stone first will give you the full stone bonus and the full spear bonus immediately.
2. Current HP issues when equipping items with percentage max. HP bonus.
Equipping the Pale Green Ioun Stone gives you a 10% max. HP bonus. There appears to be an issue with the current HP value however. If you save the game with a fully healed character while the item is equipped, your current HP will be lower by one or more hit points when reloading the saved game.
I've attached a saved game to test the described issues.
Post edited by Gate70 on
0
Comments
Could do with other items to check wider compatibility. e.g. is the below complete/correct in which case it might just be the pale green ioun stone that needs looking at;
+n hit points.
Spear of Kuldahar
Helm of Balduran (+5hp)
Plate of Balduran (+5hp)
Paladins / Blessed Bracers (+10hp)
Tsu Zan's Bracers (+15hp)
Circlet of Netheril (+10hp)
Wong Fei's Ioun Stone (+15hp)
+ % hit points.
Pale green ioun stone (+10%)
Possibles
T'rahcies Plate (-2 con)
Girdle of Fortitude (18 con)
Malla's Soul Stone (+1 con)
Obsidian Soul Stone (+1 con)
Axe of Unyielding +5 (+1 con)
The first issue can be triggered by modifier type 2 (Set % of) as well as modifier type 5 (Set % of, don't update cur. HP) of effect opcode 18.
The second issue can only be triggered by modifier type 5 (Set % of, don't update cur. HP).
CON modifying items appear to work correctly in combination with any kind of HP bonus items.