Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -62,10 +62,41 @@ local cache_7 local cache_8 local cache_9 local _ + +fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin + +Debug.ReloadFieldBegin = function(str_1, str_2) --{ + + str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE + + str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN + + str["规则表"] = { + + [3] = "大师3 " + , [4] = "新大师 " + , [5] = "大师2020 " + } + + if str_2 then --{ + + str["规则"] = str["规则表"][str_2] + + --} + + else --{ + + str["规则"] = str["规则表"][5] + + end --} + + fun["Debug.ReloadFieldBegin"](str_1, str_2) + + end --} fun["一_随机抽卡"] = function(str_1) --{ str["随机抽卡的数量"] = str_1 @@ -502,43 +533,16 @@ local cache_7 local cache_8 local cache_9 local _ + + --兼容层------------------------------- -fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin - -Debug.ReloadFieldBegin = function(str_1, str_2) --{ - - str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE - - str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN - - str["规则表"] = { - - [3] = "大师3 " - , [4] = "新大师 " - , [5] = "大师2020 " - } - - if str_2 then --{ - - str["规则"] = str["规则表"][str_2] - - --} - - else --{ - - str["规则"] = str["规则表"][5] - - end --} - - fun["Debug.ReloadFieldBegin"](str_1, str_2) - - end --} + fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd Debug.ReloadFieldEnd = function(str_1) --{