Commit 241f5e762b4880cb71b28a16b08a710743022643
1 parent
37bb4611
去除日志
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
src/ProtocolCode.lua
@@ -93,7 +93,7 @@ actionCodes = { | @@ -93,7 +93,7 @@ actionCodes = { | ||
93 | Hero_repayHeroRpc = 221, | 93 | Hero_repayHeroRpc = 221, |
94 | Hero_unlockPoolRpc = 222, | 94 | Hero_unlockPoolRpc = 222, |
95 | Hero_changeCrown = 223, | 95 | Hero_changeCrown = 223, |
96 | - Hero_drawHeroExtraRewardNtf = 221, | 96 | + Hero_drawHeroExtraRewardNtf = 224, |
97 | 97 | ||
98 | Hang_startRpc = 251, | 98 | Hang_startRpc = 251, |
99 | Hang_checkRpc = 252, | 99 | Hang_checkRpc = 252, |
src/actions/HeroAction.lua
@@ -898,7 +898,6 @@ function _M.drawHeroRpc(agent, data) | @@ -898,7 +898,6 @@ function _M.drawHeroRpc(agent, data) | ||
898 | local oldVal = role:getProperty("repayHero") or 0 | 898 | local oldVal = role:getProperty("repayHero") or 0 |
899 | local newVal = oldVal + drawCount[drawType] | 899 | local newVal = oldVal + drawCount[drawType] |
900 | local drawCardReward, val = role:getDrawCardExtraReward(oldVal, newVal) | 900 | local drawCardReward, val = role:getDrawCardExtraReward(oldVal, newVal) |
901 | - print(drawCardReward) | ||
902 | -- 空字符穿代表直接给英雄 走以前repayHeroRpc | 901 | -- 空字符穿代表直接给英雄 走以前repayHeroRpc |
903 | if drawCardReward == "" then | 902 | if drawCardReward == "" then |
904 | local id = math.randWeight(csvdb["build_giftCsv"], "pool_1") | 903 | local id = math.randWeight(csvdb["build_giftCsv"], "pool_1") |