[放生灵兽]灵兽放生显示返还货币修改

dev_chengFeng
wangzhenxing 2020-11-02 17:36:08 +09:00
parent 869f54799e
commit 92d5b659a1
1 changed files with 5 additions and 4 deletions

View File

@ -124,6 +124,7 @@ function this:BindEvent()
--升星消耗
local lingshouConfig=ConfigManager.GetConfigData(ConfigName.SpiritAnimal,value.id)
local haveNum=0
if value.star>0 then
local starConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.SpiritAnimalStar,"Star",value.star,"Quality",value.quality)
if starConfig then
@ -142,7 +143,7 @@ function this:BindEvent()
allCoin=allCoin+lingshouConfig.CoinReturn[2]*(haveNum+1)
end
--加上所有的分解币
table.insert(allMaterials,{1203,allCoin})
table.insert(allMaterials,{1205,allCoin})
else--灵兽碎片
local itemConfig=ConfigManager.GetConfigData(ConfigName.ItemConfig,selectChipId)
if itemConfig then