You’re welcome. Yes, for simple mana generation with mana boost from troops, emblems, costumes, etc… it’s easier to create a chart because it’s more deterministic. That’s why I linked the chart under Example 1. For mana generation under buffs and debuffs, it all depends on how many tiles one has moved before and after the effects, so it’s much more harder to create a concise chart. But atleast the formula will help determine it case by case.
I am not very knowledgeable on the mana generation on defense, because it is much more complicated and nonlinear in nature. But, a lot of players are trying to investigate it, so you might follow some of the posts like this.