Gauntlet change not fully effective
There's a slight issue with the gauntlet test. The script prioritizes HP much more than DA, even if less damage would be dealt to the player if DA was higher.
At a level 442 stat test with the base damage at 54577, the script thinks that 760 DA with 8593 HP is the best choice. Unfortunately, that would mean that the test deals 54577 * 0.23 (760 DA) = 12,456 damage.
When I manually swap out the sugar shorts for Hodgeman's pants, the test deals 54577 * 0.12 (960 DA) = 6,560 damage with a max HP of 8539.
Switching out the Plexiglass Pith Helm for a Nurse Hat changes the damage to 54577 * 0.10 (1000 DA) = 5,458 with 8518 HP.
I know back in 2011-11-27, there was a change to make the gauntlet more reliant on DA, but that change doesn't seem to be fully effective since the DA change was NOT added to cache_outfit(). The maximize command in the relevant part of the script still reads
Code:
maximize("HP" + maximize_familiar, false);
and does not contain a reference to DA.
There's also another small issue with elemental tests. Currently, the maximizer maximizes for equal parts resistance. .5 and .5. Unfortunately, that means half the resistances are completely useless if a phial is used. If a phial is considered, the maximizer check needs to only maximize for the other stat.