Commit 1a4278207ef6a9465d531382f5169c43664a75af

Authored by jiyue
2 parents 0bf143be e9c1df55

Merge branch 'cn/develop' into cn/publish/release

src/actions/HeroAction.lua
... ... @@ -66,7 +66,7 @@ function _M.levelUpRpc( agent, data )
66 66 hero_upgrade_scoreget = hero:getProperty("battleV") - oldBattleV, -- 通过英雄升级提升的评分
67 67 })
68 68  
69   - hero:mylog({desc = "levelUp", int1 = hero:getProperty("level")})
  69 + hero:mylog({desc = "levelUp", int1 = hero:getProperty("level"), int2 = hero:getProperty("type")})
70 70  
71 71 role:checkTaskEnter("HeroLevelUp", {level = hero:getProperty("level")})
72 72  
... ... @@ -105,7 +105,7 @@ function _M.breakRpc( agent, data )
105 105 hero_break_result = getChangeAttrJson(oldAttr, hero:getTotalAttrs()), -- 英雄突破效果,可记录效果ID,或json格式记录提升效果,{攻击:20,闪避:20,……..}
106 106 hero_break_level = hero:getMaxLevel(), -- 英雄突破后等级上限
107 107 })
108   - hero:mylog({desc = "break", int1 = hero:getProperty("breakL")})
  108 + hero:mylog({desc = "break", int1 = hero:getProperty("breakL"), int2 = hero:getProperty("type")})
109 109  
110 110 SendPacket(actionCodes.Hero_breakRpc, '')
111 111 return true
... ...
src/models/Activity.lua
... ... @@ -1117,10 +1117,11 @@ end
1117 1117 activityFunc[Activity.ActivityType.ActShopGoods] = {
1118 1118 ["init"] = function(self, actType, isCrossDay, notify, actId)
1119 1119 end,
1120   - ["close"] = function(self, actType, notify)
  1120 + ["close"] = function(self, actType, notify, actId)
1121 1121 local rechargeRecord = self.owner.storeData:getProperty("payR")
1122 1122 for id, cfg in pairs(csvdb["shop_rechargeCsv"]) do
1123   - if cfg.shop == 3 and cfg.type == ShopPackType.ActShopPack then
  1123 + --if cfg.shop == 3 and cfg.type == ShopPackType.ActShopPack then
  1124 + if cfg.activity_id == actId then
1124 1125 rechargeRecord[id] = nil
1125 1126 end
1126 1127 end
... ...
src/services/dbseed.lua
... ... @@ -268,7 +268,7 @@ local function doUpdateSql()
268 268 "ALTER TABLE `Rune` MODIFY COLUMN `refer` bigint;"
269 269 },
270 270 [3] = {
271   - "ALTER TABLE `Email` MODIFY COLUMN `refer` VARCHAR(2048);"
  271 + "ALTER TABLE `Email` MODIFY COLUMN `content` VARCHAR(2048);"
272 272 },
273 273 }
274 274 -- 更新记录表
... ...