Commit ca55c7631bccb5843d618c2755f054ad60d669e7
1 parent
d4e9b817
引导招募必送思露德判定出了大问题
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
src/actions/HeroAction.lua
@@ -807,7 +807,7 @@ function _M.drawHeroRpc(agent, data) | @@ -807,7 +807,7 @@ function _M.drawHeroRpc(agent, data) | ||
807 | role:costItems(cost, {log = {desc = "drawHero", int1 = btype, int2 = poolId}}) | 807 | role:costItems(cost, {log = {desc = "drawHero", int1 = btype, int2 = poolId}}) |
808 | 808 | ||
809 | local guideHero | 809 | local guideHero |
810 | - if role:checkOverGuide(11) and not role:checkOverGuide(12) then | 810 | + if role:getProperty("newerGuide") == "11=1" then |
811 | guideHero = 613 | 811 | guideHero = 613 |
812 | end | 812 | end |
813 | 813 |
src/models/RoleBattle.lua
@@ -11,11 +11,11 @@ local RoleBattle = {} | @@ -11,11 +11,11 @@ local RoleBattle = {} | ||
11 | ]] | 11 | ]] |
12 | 12 | ||
13 | local BattleType = { | 13 | local BattleType = { |
14 | - "hang" = 100, | ||
15 | - "tower" = 200, | ||
16 | - "bonus" = 300, | ||
17 | - "pvpc" = 500, | ||
18 | - "pvph" = 501, | 14 | + hang = 100, |
15 | + tower = 200, | ||
16 | + bonus = 300, | ||
17 | + pvpc = 500, | ||
18 | + pvph = 501, | ||
19 | } | 19 | } |
20 | 20 | ||
21 | RoleBattle.bind = function (Role) | 21 | RoleBattle.bind = function (Role) |