Creature rebalance mod - Fight Value calculation?

It’s an attempt to rebalance creatures from the original HoMM3 by adjusting their attributes instead of their recruiting costs, to reduce their CE (Fight Value in HoMM3) differences.
But don’t know how to calculate the Fight Value. Does anyone know that?

And also, here is the repository: TheInfernoDevil/VCMI-Mod-XeroDff-Balance (github.com). Welcome to give some other suggestions.

Use Ai balancer or Macron Balancer

Nice. Thanks.