Commit 8f49e40eecac5481b884cb1f9735c8ca32b1b77e

Authored by zhangqijia
1 parent 9e5f9701

refactor: 战令等级由虹光玉调整为魔导石购买

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/actions/ActivityAction.lua
... ... @@ -1345,8 +1345,8 @@ function _M.buyBattleCommandLvlRpc(agent, data)
1345 1345 end
1346 1346 if cost == 0 then return 5 end
1347 1347  
1348   - if not role:checkItemEnough({[ItemId.Jade] = cost}) then return 6 end
1349   - role:costItems({[ItemId.Jade] = cost}, {log = {desc = "actBuyBpLevel", int1 = curLvl}})
  1348 + if not role:checkItemEnough({[ItemId.Diamond] = cost}) then return 6 end
  1349 + role:costItems({[ItemId.Diamond] = cost}, {log = {desc = "actBuyBpLevel", int1 = curLvl}})
1350 1350 actData["lvl"] = nextLvl
1351 1351 role.activity:updateActData("BattleCommand", actData)
1352 1352 role:mylog("act_action", {desc="buyBcLvl", int1=count, int2=nextLvl})
... ...