gitxsm hace 3 semanas
padre
commit
ab6243c8a4
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      script/module/absAct/NewHeroLogic.lua

+ 3 - 0
script/module/absAct/NewHeroLogic.lua

@@ -188,6 +188,9 @@ function getAndSendMsg(human, id, actId)
         --     BuyLogic.fontBuyItem(human, msgRet.giftlist[index].buyMsg[1], buyID)
         -- end
         BuyLogic.fontBuyItem(human, msgRet.giftlist[index].buyMsg[1], buyID)
+        if v.buyID == 0 then
+            msgRet.giftlist[index].buyMsg[1].cost = v.price or 0
+        end
     end
     msgRet.giftlist[0] = index
     if index == 0 then