I have no idea how any Ace3 libraries have anything to do with extracting stats from tooltips.
I'd suggest hooking the OnShow script for the compare tooltips instead of listening for the modifier change event:
- ShoppingTooltip1
- ShoppingTooltip2
- ItemRefShoppingTooltip1
- ItemRefShoppingTooltip2