Commit de1a55b4276c573a4be87fea8defe0e9abfd5dcf
1 parent
5bc3f172
新手卡池限制30抽
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/actions/HeroAction.lua
@@ -724,9 +724,11 @@ function _M.drawHeroRpc(agent, data) | @@ -724,9 +724,11 @@ function _M.drawHeroRpc(agent, data) | ||
724 | subType = 1 | 724 | subType = 1 |
725 | if btype == 4 and role:getProperty("newerDraw") >= 10 then | 725 | if btype == 4 and role:getProperty("newerDraw") >= 10 then |
726 | subType = 2 | 726 | subType = 2 |
727 | + if(role:getProperty("newerDraw") >= 30) then | ||
728 | + return 30 | ||
729 | + end | ||
727 | end | 730 | end |
728 | end | 731 | end |
729 | - print(btype, subType, role:getProperty("newerDraw")) | ||
730 | 732 | ||
731 | -- 另开活动卡池 | 733 | -- 另开活动卡池 |
732 | if actid then | 734 | if actid then |