Auto-translated
I remembered another thing: if a unit has more than 35 HP, the formulas will calculate incorrectly. I think you can quickly estimate it in your head, and besides, there are rarely such high-HP units that would be sacrificed to feed the Pit, so I didn't bother fixing it.