SK_LongZhu
parent
af71c426a8
commit
11e3622161
|
@ -386,9 +386,9 @@ function RewardEquipSingleShowPopup2:OnShow()
|
||||||
if equipConfigData.Position==8 and self.curHeroData then
|
if equipConfigData.Position==8 and self.curHeroData then
|
||||||
LogError("GiftManager.GetPlayerGiftAdd()============="..GiftManager.GetPlayerGiftAdd().." prop[2]==========="..prop[2].." HeroManager.ReturnGiftAtt()=="..HeroManager.ReturnGiftAtt())
|
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)
|
local proValue =math.floor(prop[2]*(1+GiftManager.GetPlayerGiftAdd()/100)+0.5)
|
||||||
vText.text = "+"..GetPropertyFormatStr(proConfigData.Style, prop[2])..
|
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*GiftManager.GetPlayerGiftAdd()/100),GiftManager.GetPlayerGiftAdd())
|
||||||
..string.format(" 特训加成+%s (%s%%)",math.floor(proValue*HeroManager.ReturnGiftAtt()),HeroManager.ReturnGiftAtt())
|
--..string.format(" 特训加成+%s (%s%%)",math.floor(proValue*HeroManager.ReturnGiftAtt()),HeroManager.ReturnGiftAtt())
|
||||||
elseif equipConfigData.Position<=4 and self.curHeroData then
|
elseif equipConfigData.Position<=4 and self.curHeroData then
|
||||||
-- for k, v in pairs(self.curHeroData.potential) do
|
-- for k, v in pairs(self.curHeroData.potential) do
|
||||||
-- LogError("v======================"..v.." k==="..k)
|
-- LogError("v======================"..v.." k==="..k)
|
||||||
|
|
Loading…
Reference in New Issue