It was correct, you understood it !
$gameTroop._enemies[0].mhp is the max HP of the enemy #1, not more, not less.
if you have any further questions/problems about these, don't hesitate to come PM me, or start a new thread. Though I think this thread is probably entirely solved by now 😅 glad we could help you out !