From ca55c7631bccb5843d618c2755f054ad60d669e7 Mon Sep 17 00:00:00 2001 From: chenyueqi <1056825054@qq.com> Date: Wed, 26 Aug 2020 17:28:17 +0800 Subject: [PATCH] 引导招募必送思露德判定出了大问题 --- src/actions/HeroAction.lua | 2 +- src/models/RoleBattle.lua | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/actions/HeroAction.lua b/src/actions/HeroAction.lua index 1b5fba8..7a56809 100644 --- a/src/actions/HeroAction.lua +++ b/src/actions/HeroAction.lua @@ -807,7 +807,7 @@ function _M.drawHeroRpc(agent, data) role:costItems(cost, {log = {desc = "drawHero", int1 = btype, int2 = poolId}}) local guideHero - if role:checkOverGuide(11) and not role:checkOverGuide(12) then + if role:getProperty("newerGuide") == "11=1" then guideHero = 613 end diff --git a/src/models/RoleBattle.lua b/src/models/RoleBattle.lua index 873bcc8..6c8db43 100644 --- a/src/models/RoleBattle.lua +++ b/src/models/RoleBattle.lua @@ -11,11 +11,11 @@ local RoleBattle = {} ]] local BattleType = { - "hang" = 100, - "tower" = 200, - "bonus" = 300, - "pvpc" = 500, - "pvph" = 501, + hang = 100, + tower = 200, + bonus = 300, + pvpc = 500, + pvph = 501, } RoleBattle.bind = function (Role) -- libgit2 0.21.2