add hp mp

This commit is contained in:
bridge
2025-09-16 23:21:13 +08:00
parent d3e7649355
commit 38cb4ab15e
6 changed files with 131 additions and 5 deletions

View File

@@ -126,6 +126,8 @@ def draw_tooltip_for_avatar(pygame_mod, screen, colors, font, avatar: Avatar):
f"性别: {avatar.gender}",
f"年龄: {avatar.age}",
f"境界: {str(avatar.cultivation_progress)}",
f"HP: {avatar.hp}",
f"MP: {avatar.mp}",
f"灵根: {avatar.root.value}",
f"个性: {avatar.persona.name}",
f"位置: ({avatar.pos_x}, {avatar.pos_y})",