Restricted use mana

I just have added a "UseOnlyFor" parameter in the Mana ability so Forge can trace mana coming from spells like Grand Architect.
To make this usable I'm editing ManaPool class so it has a new floatingRestrictedTotals array which works in a way similar to snow mana.
It seems this way can produce some result at least.
By the way, do you have notes to share with me about this topic?
Thanks,
FabioFLX
To make this usable I'm editing ManaPool class so it has a new floatingRestrictedTotals array which works in a way similar to snow mana.
It seems this way can produce some result at least.
By the way, do you have notes to share with me about this topic?
Thanks,
FabioFLX