SK_LongZhu
PC-202302260912\Administrator 2025-08-13 19:48:17 +08:00
parent af71c426a8
commit 11e3622161
1 changed files with 3 additions and 3 deletions

View File

@ -386,9 +386,9 @@ function RewardEquipSingleShowPopup2:OnShow()
if equipConfigData.Position==8 and self.curHeroData then
LogError("GiftManager.GetPlayerGiftAdd()============="..GiftManager.GetPlayerGiftAdd().." prop[2]==========="..prop[2].." HeroManager.ReturnGiftAtt()=="..HeroManager.ReturnGiftAtt())
local proValue =math.floor(prop[2]*(1+GiftManager.GetPlayerGiftAdd()/100)+0.5)
vText.text = "+"..GetPropertyFormatStr(proConfigData.Style, prop[2])..
string.format(" 命格加成+%s (%s%%)",math.floor(proValue*GiftManager.GetPlayerGiftAdd()/100),GiftManager.GetPlayerGiftAdd())
..string.format(" 特训加成+%s (%s%%)",math.floor(proValue*HeroManager.ReturnGiftAtt()),HeroManager.ReturnGiftAtt())
vText.text = "+"..GetPropertyFormatStr(proConfigData.Style, prop[2])--..
--string.format(" 命格加成+%s (%s%%)",math.floor(proValue*GiftManager.GetPlayerGiftAdd()/100),GiftManager.GetPlayerGiftAdd())
--..string.format(" 特训加成+%s (%s%%)",math.floor(proValue*HeroManager.ReturnGiftAtt()),HeroManager.ReturnGiftAtt())
elseif equipConfigData.Position<=4 and self.curHeroData then
-- for k, v in pairs(self.curHeroData.potential) do
-- LogError("v======================"..v.." k==="..k)