龙之核心血条配置完 切物品的时候会超出来
这是配置
血量_texture:
x: "界面变量.x-217.1+82"
y: "方法.取屏幕高度-60.5"
width: "方法.取变量('player_health_rounded')/方法.取变量('ap_health:max')*120"
height: 8
texture: "hud/hp.png"
血量1_label:
x: "界面变量.x-80"
y: "方法.取屏幕高度-61"
center: true
texts: "方法.合并文本('§e&l',方法.取变量('player_health_rounded'),方法.合并文本('§e&l/'),方法.取变量('ap_health:max')))"
血量_texture:
x: "界面变量.x-217.1+82"
y: "方法.取屏幕高度-60.5"
width: "方法.取变量('player_health_rounded')/方法.取变量('ap_health:max')*120"
height: 8
texture: "hud/hp.png"
血量1_label:
x: "界面变量.x-80"
y: "方法.取屏幕高度-61"
center: true
texts: "方法.合并文本('§e&l',方法.取变量('player_health_rounded'),方法.合并文本('§e&l/'),方法.取变量('ap_health:max')))"
我觉得是你最大生命的变量错了,试试ap_heal:max
梦九之魂 发表于 2023-8-14 22:53
我觉得是你最大生命的变量错了,试试ap_heal:max
改成这个变量就不显示了