SK_LongZhu
parent
af71c426a8
commit
11e3622161
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue