Przeglądaj źródła

更新星降完毕

zhanwencai 1 rok temu
rodzic
commit
f5f9ff230d
3 zmienionych plików z 2 dodań i 15 usunięć
  1. 1 0
      script/common/Lang.lua
  2. BIN
      script/file3.tar.gz
  3. 1 15
      script/module/role/NewLogic.lua

+ 1 - 0
script/common/Lang.lua

@@ -720,6 +720,7 @@ LOST_TEMPLE_OPEN_ERROR = [[主角等级达到50级开启]]
 AD_DRAW_REWARD_LIMIT_ERROR = [[超过领取上限次数!!]]
 AD_DRAW_REWARD_SUCCESS = [[观看广告领取奖励成功!!]]
 
+AD_HATCH_REWARD_LIMIT_ERROR = [[超过观看广告上限次数!!]]
 QUICK_HATCH_SUCCESS = [[加速孵化成功!!]]
 QUICK_HATCH_TIME_OUT = [[加速时间大于孵化时间!!]]
 MERGE_SUCCESS = [[融合成功!!]]

BIN
script/file3.tar.gz


+ 1 - 15
script/module/role/NewLogic.lua

@@ -405,25 +405,11 @@ function NewProto(human, type, param)
                         },
                     }
                 },
-                [2] = {
-                    skillList = {
-                        [1] = {},
-                        [2] = {},
-                    },
-                    beSkill = {
-                        [1] = {},
-                        [2] = {},
-                        [3] = {},
-                    }
-                },
             },
             heroSimple = {
                 [1] = {
                     general = {}
                 },
-                [2] = {
-                    general = {}
-                }
             },
             attrs = {
                 [1] = {},
@@ -542,7 +528,7 @@ function NewProto(human, type, param)
                 human.db.adHatchRewardCnt = human.db.adHatchRewardCnt or 0
 
                 if human.db.adHatchRewardCnt > 4 then
-                    Broadcast.sendErr(human, Lang.AD_DRAW_REWARD_LIMIT_ERROR)
+                    Broadcast.sendErr(human, Lang.AD_HATCH_REWARD_LIMIT_ERROR)
                     return
                 end