Skip to content

Commit 4f25d19

Browse files
committed
弧形血条霸刀不再显示内力条
1 parent a8aa01b commit 4f25d19

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

MY_ArchHUD/src/MY_ArchHUD.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ local function UpdatePlayerData(hFrame, KSelf)
100100
nCurrentExtra, nMaxExtra = nAccumulate, 5
101101
szExtraImage, nExtraFrame = "rRing.UITex", 2
102102
nCurrentMana, nMaxMana = KSelf.nCurrentMana, KSelf.nMaxMana
103+
elseif KSelf.dwForceID == FORCE_TYPE.BA_DAO then
104+
if KSelf.nPoseState == POSE_TYPE.BROADSWORD then
105+
nCurrentMana, nMaxMana = KSelf.nCurrentRage, KSelf.nMaxRage
106+
elseif KSelf.nPoseState == POSE_TYPE.DOUBLE_BLADE then
107+
nCurrentMana, nMaxMana = KSelf.nCurrentEnergy, KSelf.nMaxEnergy
108+
elseif KSelf.nPoseState == POSE_TYPE.SHEATH_KNIFE then
109+
nCurrentMana, nMaxMana = KSelf.nCurrentSunEnergy, KSelf.nMaxSunEnergy
110+
end
103111
else
104112
nCurrentMana, nMaxMana = KSelf.nCurrentMana, KSelf.nMaxMana
105113
end

0 commit comments

Comments
 (0)