gitxsm hace 3 semanas
padre
commit
aabdc4f5ae
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

@@ -189,6 +189,9 @@ function getAndSendMsg(human, id, actId)
         -- 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