eeeff3c24b 2023-07-15 顽雨沉风:
e59d27b43b 2023-07-17 顽雨沉风: local str = {}
6f9888787e 2023-08-02 顽雨沉风: local math = math
6f9888787e 2023-08-02 顽雨沉风: local string = string
6f9888787e 2023-08-02 顽雨沉风: local table = table
6f9888787e 2023-08-02 顽雨沉风: _G.fun = {}
6f9888787e 2023-08-02 顽雨沉风: ---------------------------------
dd1a253607 2023-08-02 顽雨沉风: local cache_1
dd1a253607 2023-08-02 顽雨沉风: local cache_2
dd1a253607 2023-08-02 顽雨沉风: local cache_3
dd1a253607 2023-08-02 顽雨沉风: local cache_4
dd1a253607 2023-08-02 顽雨沉风: local cache_5
dd1a253607 2023-08-02 顽雨沉风: local cache_6
dd1a253607 2023-08-02 顽雨沉风: local cache_7
dd1a253607 2023-08-02 顽雨沉风: local cache_8
dd1a253607 2023-08-02 顽雨沉风: local cache_9
dd1a253607 2023-08-02 顽雨沉风: local _
dd1a253607 2023-08-02 顽雨沉风: str["效果卡的种类表"] = {
dd1a253607 2023-08-02 顽雨沉风: TYPE_SPELL
dd1a253607 2023-08-02 顽雨沉风: , TYPE_TRAP
dd1a253607 2023-08-02 顽雨沉风: , TYPE_EFFECT
dd1a253607 2023-08-02 顽雨沉风: }
dd1a253607 2023-08-02 顽雨沉风: str["无效果灵摆怪兽表"] = {
dd1a253607 2023-08-02 顽雨沉风: 28363749
dd1a253607 2023-08-02 顽雨沉风: , 19474136
dd1a253607 2023-08-02 顽雨沉风: , 17390179
dd1a253607 2023-08-02 顽雨沉风: , 83980492
dd1a253607 2023-08-02 顽雨沉风: }
dd1a253607 2023-08-02 顽雨沉风: cache_1 = 0
dd1a253607 2023-08-02 顽雨沉风: cache_1 = cache_1 + LOCATION_HAND
dd1a253607 2023-08-02 顽雨沉风: + LOCATION_MZONE
dd1a253607 2023-08-02 顽雨沉风: + LOCATION_SZONE
dd1a253607 2023-08-02 顽雨沉风: + LOCATION_GRAVE
dd1a253607 2023-08-02 顽雨沉风: + LOCATION_REMOVED
dd1a253607 2023-08-02 顽雨沉风: str["除卡组与额外卡组以外的区域"] = cache_1
dd1a253607 2023-08-02 顽雨沉风: cache_1 = cache_1 + LOCATION_DECK
dd1a253607 2023-08-02 顽雨沉风: + LOCATION_EXTRA
dd1a253607 2023-08-02 顽雨沉风: str["所有区域"] = cache_1
dd1a253607 2023-08-02 顽雨沉风: --第一层-------------------------------
1c6488a768 2023-07-28 顽雨沉风: local cache_1
1c6488a768 2023-07-28 顽雨沉风: local cache_2
1c6488a768 2023-07-28 顽雨沉风: local cache_3
1c6488a768 2023-07-28 顽雨沉风: local cache_4
1c6488a768 2023-07-28 顽雨沉风: local cache_5
1c6488a768 2023-07-28 顽雨沉风: local cache_6
1c6488a768 2023-07-28 顽雨沉风: local cache_7
1c6488a768 2023-07-28 顽雨沉风: local cache_8
1c6488a768 2023-07-28 顽雨沉风: local cache_9
c291f89d7e 2023-08-02 顽雨沉风: local _
70edc71d15 2023-08-02 顽雨沉风: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
70edc71d15 2023-08-02 顽雨沉风: Debug.ReloadFieldBegin = function(str_1, str_2) --{
70edc71d15 2023-08-02 顽雨沉风: str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
70edc71d15 2023-08-02 顽雨沉风: str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
9078d0bbe3 2023-10-14 顽雨沉风: str["无AI"] = str_1 & DUEL_SIMPLE_AI
70edc71d15 2023-08-02 顽雨沉风: str["规则表"] = {
70edc71d15 2023-08-02 顽雨沉风: [3] = "大师3 "
70edc71d15 2023-08-02 顽雨沉风: , [4] = "新大师 "
70edc71d15 2023-08-02 顽雨沉风: , [5] = "大师2020 "
70edc71d15 2023-08-02 顽雨沉风: }
70edc71d15 2023-08-02 顽雨沉风: if str_2 then --{
70edc71d15 2023-08-02 顽雨沉风: str["规则"] = str["规则表"][str_2]
70edc71d15 2023-08-02 顽雨沉风: --}
70edc71d15 2023-08-02 顽雨沉风: else --{
70edc71d15 2023-08-02 顽雨沉风: str["规则"] = str["规则表"][5]
70edc71d15 2023-08-02 顽雨沉风: end --}
70edc71d15 2023-08-02 顽雨沉风: fun["Debug.ReloadFieldBegin"](str_1, str_2)
70edc71d15 2023-08-02 顽雨沉风: end --}
e883722fe2 2023-08-02 顽雨沉风: fun["一_随机抽卡"] = function(str_1) --{
e883722fe2 2023-08-02 顽雨沉风: str["随机抽卡的数量"] = str_1
e883722fe2 2023-08-02 顽雨沉风: str["效果"] = Effect.GlobalEffect()
e883722fe2 2023-08-02 顽雨沉风: str["效果"]:SetType(EFFECT_TYPE_FIELD
e883722fe2 2023-08-02 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
e883722fe2 2023-08-02 顽雨沉风: str["效果"]:SetCode(EVENT_ADJUST)
e883722fe2 2023-08-02 顽雨沉风: str["效果"]:SetCondition(aux.TRUE)
e883722fe2 2023-08-02 顽雨沉风: function cache_1(effect_event
e883722fe2 2023-08-02 顽雨沉风: , player_who_activate_the_effect) --{
e883722fe2 2023-08-02 顽雨沉风: Duel.ShuffleDeck(0)
e883722fe2 2023-08-02 顽雨沉风: Duel.Draw(0,str_1,REASON_RULE)
e883722fe2 2023-08-02 顽雨沉风: effect_event:Reset()
e883722fe2 2023-08-02 顽雨沉风: end --}
e883722fe2 2023-08-02 顽雨沉风: str["效果"]:SetOperation(cache_1)
e883722fe2 2023-08-02 顽雨沉风: Duel.RegisterEffect(str["效果"]
e883722fe2 2023-08-02 顽雨沉风: , 0)
e883722fe2 2023-08-02 顽雨沉风: end --}
c291f89d7e 2023-08-02 顽雨沉风: fun["一_失败得分"] = function() --{
ba4bd27237 2023-08-02 顽雨沉风: str["失败得分表"] = {
1c6488a768 2023-07-28 顽雨沉风: [0] = "神龙之圣刻印"
1c6488a768 2023-07-28 顽雨沉风: , [100] = "调和支援士"
1c6488a768 2023-07-28 顽雨沉风: , [200] = "深渊的暗杀者"
1c6488a768 2023-07-28 顽雨沉风: , [300] = "救援猫"
1c6488a768 2023-07-28 顽雨沉风: , [400] = "注射天使 莉莉"
1c6488a768 2023-07-28 顽雨沉风: , [500] = "不知火的隐者"
1c6488a768 2023-07-28 顽雨沉风: , [600] = "影依猎鹰"
1c6488a768 2023-07-28 顽雨沉风: , [700] = "铁兽战线 姬特"
1c6488a768 2023-07-28 顽雨沉风: , [800] = "召唤僧"
1c6488a768 2023-07-28 顽雨沉风: , [900] = "恩底弥翁的仆从"
1c6488a768 2023-07-28 顽雨沉风: , [1000] = "机壳工具 丑恶"
1c6488a768 2023-07-28 顽雨沉风: , [1100] = "欧尼斯特"
1c6488a768 2023-07-28 顽雨沉风: , [1200] = "次元吸引者"
1c6488a768 2023-07-28 顽雨沉风: , [1300] = "黑羽-疾风之盖尔"
1c6488a768 2023-07-28 顽雨沉风: , [1400] = "加农炮兵"
1c6488a768 2023-07-28 顽雨沉风: , [1500] = "教导的大神祗官"
1c6488a768 2023-07-28 顽雨沉风: , [1600] = "地中族导师"
1c6488a768 2023-07-28 顽雨沉风: , [1700] = "相剑师-莫邪"
1c6488a768 2023-07-28 顽雨沉风: , [1800] = "宝玉兽-青玉飞马"
1c6488a768 2023-07-28 顽雨沉风: , [1900] = "命运英雄 血魔-D"
1c6488a768 2023-07-28 顽雨沉风: , [2000] = "流离的狮鹫骑手"
1c6488a768 2023-07-28 顽雨沉风: , [2100] = "电子龙"
1c6488a768 2023-07-28 顽雨沉风: , [2200] = "古遗物-死镰"
1c6488a768 2023-07-28 顽雨沉风: , [2300] = "能朋克 调狐"
1c6488a768 2023-07-28 顽雨沉风: , [2400] = "俱舍怒威族·芬里尔狼"
1c6488a768 2023-07-28 顽雨沉风: , [2500] = "黑魔术师"
1c6488a768 2023-07-28 顽雨沉风: , [2600] = "雅典娜"
1c6488a768 2023-07-28 顽雨沉风: , [2700] = "暗黑界的龙神 格拉法"
1c6488a768 2023-07-28 顽雨沉风: , [2800] = "魔导兽 刻耳柏洛斯尊主"
1c6488a768 2023-07-28 顽雨沉风: , [2900] = "元素英雄 永生侠"
1c6488a768 2023-07-28 顽雨沉风: , [3000] = "青眼白龙"
1c6488a768 2023-07-28 顽雨沉风: }
1c6488a768 2023-07-28 顽雨沉风: str["对方玩家的初始生命值"] = Duel.GetLP(1)
1c6488a768 2023-07-28 顽雨沉风: str["效果"] = Effect.GlobalEffect()
1c6488a768 2023-07-28 顽雨沉风: str["效果"]:SetType(EFFECT_TYPE_FIELD
1c6488a768 2023-07-28 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
1c6488a768 2023-07-28 顽雨沉风: str["效果"]:SetCode(EVENT_PHASE_START+PHASE_END)
1c6488a768 2023-07-28 顽雨沉风: function cache_1(effect_event
1c6488a768 2023-07-28 顽雨沉风: , player_who_activate_the_effect) --{
155b00bc3f 2024-01-23 顽雨沉风: cache_1 = Duel.GetLP(1) - str["对方玩家的初始生命值"]
155b00bc3f 2024-01-23 顽雨沉风: if cache_1 > 0 then --{
155b00bc3f 2024-01-23 顽雨沉风: return
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: cache_1 = math.abs(cache_1) / (str["对方玩家的初始生命值"] - 100)
155b00bc3f 2024-01-23 顽雨沉风: cache_1 = math.tointeger(cache_1 * 3000 // 100 * 100)
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if cache_1 > 3000 then --{
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
1c6488a768 2023-07-28 顽雨沉风: Debug.ShowHint("这局,您的得分是 "
1c6488a768 2023-07-28 顽雨沉风: .. cache_1
1c6488a768 2023-07-28 顽雨沉风: .. " 分!\n处于「"
1c6488a768 2023-07-28 顽雨沉风: .. str["失败得分表"][cache_1]
1c6488a768 2023-07-28 顽雨沉风: .. "」级别!")
7282130e6b 2023-10-12 顽雨沉风: end --}
7282130e6b 2023-10-12 顽雨沉风: effect_event:Reset()
7282130e6b 2023-10-12 顽雨沉风: end --}
7282130e6b 2023-10-12 顽雨沉风: str["效果"]:SetOperation(cache_1)
7282130e6b 2023-10-12 顽雨沉风: Duel.RegisterEffect(str["效果"]
7282130e6b 2023-10-12 顽雨沉风: , 0)
7282130e6b 2023-10-12 顽雨沉风: end --}
7282130e6b 2023-10-12 顽雨沉风: fun["一_该效果不能被连锁"] = function() --{
7282130e6b 2023-10-12 顽雨沉风: Duel.SetChainLimit(aux.FALSE)
7282130e6b 2023-10-12 顽雨沉风: return true
7282130e6b 2023-10-12 顽雨沉风: end --}
7282130e6b 2023-10-12 顽雨沉风: fun["一_通关邀请"] = function() --{
7282130e6b 2023-10-12 顽雨沉风: --备用:圣魔术师
7282130e6b 2023-10-12 顽雨沉风: str["原解邀请"] = "残局群181175613"
7282130e6b 2023-10-12 顽雨沉风: str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
7282130e6b 2023-10-12 顽雨沉风: str["效果"] = Effect.GlobalEffect()
7282130e6b 2023-10-12 顽雨沉风: str["效果"]:SetType(EFFECT_TYPE_FIELD
7282130e6b 2023-10-12 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetCode(EVENT_DAMAGE)
155b00bc3f 2024-01-23 顽雨沉风: function cache_1() --{
155b00bc3f 2024-01-23 顽雨沉风: cache_1 = Duel.GetLP(1)
155b00bc3f 2024-01-23 顽雨沉风: if cache_1 <= 0 then --{
155b00bc3f 2024-01-23 顽雨沉风: if cache_1 == 0 then --{
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: Debug.ShowHint(str["二解邀请"])
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: Debug.ShowHint(str["原解邀请"])
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: return false
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetCondition(cache_1)
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetOperation(aux.NULL)
7282130e6b 2023-10-12 顽雨沉风: Duel.RegisterEffect(str["效果"]
7282130e6b 2023-10-12 顽雨沉风: , 0)
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: fun["一_是否效果卡"] = function(card) --{
155b00bc3f 2024-01-23 顽雨沉风: for i = 1, #str["效果卡的种类表"] do --{
155b00bc3f 2024-01-23 顽雨沉风: if Card.IsType(card, str["效果卡的种类表"][i]) then --{
155b00bc3f 2024-01-23 顽雨沉风: return true
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if Card.IsType(card, TYPE_PENDULUM) then --{
155b00bc3f 2024-01-23 顽雨沉风: for i = 1, #str["无效果灵摆怪兽表"] do --{
155b00bc3f 2024-01-23 顽雨沉风: if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then --{
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: return true
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: return false
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: fun["一_开局添加手卡"] = function(str_1) --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局添加手卡"] = true
155b00bc3f 2024-01-23 顽雨沉风: str["开局添加手卡的数量"] = str_1
155b00bc3f 2024-01-23 顽雨沉风: str["效果"] = Effect.GlobalEffect()
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetType(EFFECT_TYPE_FIELD
155b00bc3f 2024-01-23 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetCode(EVENT_ADJUST)
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetCondition(aux.TRUE)
155b00bc3f 2024-01-23 顽雨沉风: function cache_1(effect_event
155b00bc3f 2024-01-23 顽雨沉风: , player_who_activate_the_effect) --{
c291f89d7e 2023-08-02 顽雨沉风: str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
c291f89d7e 2023-08-02 顽雨沉风: , Card.IsAbleToHand
c291f89d7e 2023-08-02 顽雨沉风: , player_who_activate_the_effect
c291f89d7e 2023-08-02 顽雨沉风: , LOCATION_DECK
c291f89d7e 2023-08-02 顽雨沉风: , 0
c291f89d7e 2023-08-02 顽雨沉风: , str_1
c291f89d7e 2023-08-02 顽雨沉风: , str_1
c291f89d7e 2023-08-02 顽雨沉风: , nil)
c291f89d7e 2023-08-02 顽雨沉风: Duel.SendtoHand(str["玩家选定的卡"]
c291f89d7e 2023-08-02 顽雨沉风: , nil
c291f89d7e 2023-08-02 顽雨沉风: , REASON_RULE)
c291f89d7e 2023-08-02 顽雨沉风: effect_event:Reset()
c291f89d7e 2023-08-02 顽雨沉风: end --}
c291f89d7e 2023-08-02 顽雨沉风: str["效果"]:SetOperation(cache_1)
1c6488a768 2023-07-28 顽雨沉风: Duel.RegisterEffect(str["效果"]
1c6488a768 2023-07-28 顽雨沉风: , 0)
c291f89d7e 2023-08-02 顽雨沉风: end --}
c291f89d7e 2023-08-02 顽雨沉风: fun["一_禁格"] = function(str_1) --{
0912fe4f22 2023-10-08 顽雨沉风: str["禁格"] = true
c291f89d7e 2023-08-02 顽雨沉风: str["禁格的数量"] = str_1
c291f89d7e 2023-08-02 顽雨沉风: str["效果"] = Effect.GlobalEffect()
c291f89d7e 2023-08-02 顽雨沉风: str["效果"]:SetCode(EFFECT_USE_EXTRA_MZONE)
c291f89d7e 2023-08-02 顽雨沉风: str["效果"]:SetValue(str_1)
c291f89d7e 2023-08-02 顽雨沉风: Duel.RegisterEffect(str["效果"],0)
c291f89d7e 2023-08-02 顽雨沉风: end --}
c291f89d7e 2023-08-02 顽雨沉风: --第二层-------------------------------
155b00bc3f 2024-01-23 顽雨沉风: local cache_1
155b00bc3f 2024-01-23 顽雨沉风: local cache_2
155b00bc3f 2024-01-23 顽雨沉风: local cache_3
155b00bc3f 2024-01-23 顽雨沉风: local cache_4
155b00bc3f 2024-01-23 顽雨沉风: local cache_5
155b00bc3f 2024-01-23 顽雨沉风: local cache_6
155b00bc3f 2024-01-23 顽雨沉风: local cache_7
155b00bc3f 2024-01-23 顽雨沉风: local cache_8
155b00bc3f 2024-01-23 顽雨沉风: local cache_9
155b00bc3f 2024-01-23 顽雨沉风: local _
155b00bc3f 2024-01-23 顽雨沉风: fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
155b00bc3f 2024-01-23 顽雨沉风: Debug.ReloadFieldEnd = function(str_1) --{
155b00bc3f 2024-01-23 顽雨沉风: fun["Debug.ReloadFieldEnd"]()
155b00bc3f 2024-01-23 顽雨沉风: if str_1 then --{
155b00bc3f 2024-01-23 顽雨沉风: fun["一_随机抽卡"](str_1)
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: fun["二_印卡"] = function(str_1, str_2, str_3) --{
155b00bc3f 2024-01-23 顽雨沉风: if str_3 then --{
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: str_3 = str_2
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: Debug.ShowHint("点击对方额外卡组可以进行印卡。\n手卡只能印 "
155b00bc3f 2024-01-23 顽雨沉风: .. str_2
155b00bc3f 2024-01-23 顽雨沉风: .. " 张。\n最多可以印 "
155b00bc3f 2024-01-23 顽雨沉风: .. str_3
155b00bc3f 2024-01-23 顽雨沉风: .. " 张")
155b00bc3f 2024-01-23 顽雨沉风: str["效果"] = Effect.CreateEffect(str_1)
155b00bc3f 2024-01-23 顽雨沉风: str["当前印卡数"] = 1
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetType(EFFECT_TYPE_IGNITION)
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetProperty(EFFECT_FLAG_BOTH_SIDE
155b00bc3f 2024-01-23 顽雨沉风: + EFFECT_FLAG_UNCOPYABLE
155b00bc3f 2024-01-23 顽雨沉风: + EFFECT_FLAG_CANNOT_NEGATE
155b00bc3f 2024-01-23 顽雨沉风: + EFFECT_FLAG_CANNOT_DISABLE)
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetTarget(fun["一_该效果不能被连锁"])
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetRange(LOCATION_EXTRA)
155b00bc3f 2024-01-23 顽雨沉风: function print_hand(effect_event
155b00bc3f 2024-01-23 顽雨沉风: , player_who_activate_the_effect) --{
155b00bc3f 2024-01-23 顽雨沉风: announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
155b00bc3f 2024-01-23 顽雨沉风: card = Duel.CreateToken(player_who_activate_the_effect
155b00bc3f 2024-01-23 顽雨沉风: , announce_card)
155b00bc3f 2024-01-23 顽雨沉风: if str["当前印卡数"] <= str_2 then --{
155b00bc3f 2024-01-23 顽雨沉风: str["当前印卡数"] = str["当前印卡数"] + 1
155b00bc3f 2024-01-23 顽雨沉风: Duel.SendtoHand(card,nil,REASON_RULE)
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: if str["当前印卡数"] <= str_3 then --{
155b00bc3f 2024-01-23 顽雨沉风: str["当前印卡数"] = str["当前印卡数"] + 1
155b00bc3f 2024-01-23 顽雨沉风: Duel.Remove(card,POS_FACEUP,REASON_RULE)
155b00bc3f 2024-01-23 顽雨沉风: Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE)
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: Debug.ShowHint("印卡过多!")
155b00bc3f 2024-01-23 顽雨沉风: effect_event:Reset()
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: str["效果"]:SetOperation(print_hand)
155b00bc3f 2024-01-23 顽雨沉风: str_1:RegisterEffect(str["效果"])
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: fun["二_开局说明"] = function() --{
155b00bc3f 2024-01-23 顽雨沉风: str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"]
155b00bc3f 2024-01-23 顽雨沉风: , 0
155b00bc3f 2024-01-23 顽雨沉风: , str["所有区域"]
155b00bc3f 2024-01-23 顽雨沉风: , str["所有区域"]
155b00bc3f 2024-01-23 顽雨沉风: , nil)
155b00bc3f 2024-01-23 顽雨沉风: str["超量素材组"] = Duel.GetOverlayGroup(0
155b00bc3f 2024-01-23 顽雨沉风: , LOCATION_MZONE
155b00bc3f 2024-01-23 顽雨沉风: , LOCATION_MZONE)
155b00bc3f 2024-01-23 顽雨沉风: for k in aux.Next(str["超量素材组"]) do --{
155b00bc3f 2024-01-23 顽雨沉风: if fun["一_是否效果卡"](k) then --{
155b00bc3f 2024-01-23 顽雨沉风: str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["这个残局的效果卡数量"]
155b00bc3f 2024-01-23 顽雨沉风: .. "卡 "
155b00bc3f 2024-01-23 顽雨沉风: .. str["规则"]
155b00bc3f 2024-01-23 顽雨沉风: if str["不洗牌"] == 0 then --{
155b00bc3f 2024-01-23 顽雨沉风: --}
155b00bc3f 2024-01-23 顽雨沉风: else --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["开局说明"] .. "伪洗牌 "
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if str["无BP"] == 0 then --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["开局说明"] .. "无BP "
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if str["无AI"] == 0 then --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["开局说明"] .. "无AI "
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if str["开局添加手卡"] then --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["开局说明"]
155b00bc3f 2024-01-23 顽雨沉风: .. "选"
155b00bc3f 2024-01-23 顽雨沉风: .. str["开局添加手卡的数量"]
155b00bc3f 2024-01-23 顽雨沉风: .. "卡 "
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if str["禁格"] then --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["开局说明"]
155b00bc3f 2024-01-23 顽雨沉风: .. "禁"
155b00bc3f 2024-01-23 顽雨沉风: .. str["禁格的数量"]
155b00bc3f 2024-01-23 顽雨沉风: .. "格 "
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if str["随机抽卡的数量"] then --{
155b00bc3f 2024-01-23 顽雨沉风: str["开局说明"] = str["开局说明"]
155b00bc3f 2024-01-23 顽雨沉风: .. "抽"
155b00bc3f 2024-01-23 顽雨沉风: .. str["随机抽卡的数量"]
155b00bc3f 2024-01-23 顽雨沉风: .. "卡 "
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: Debug.ShowHint(str["开局说明"])
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: --第三层-------------------------------
c291f89d7e 2023-08-02 顽雨沉风: local cache_1
c291f89d7e 2023-08-02 顽雨沉风: local cache_2
c291f89d7e 2023-08-02 顽雨沉风: local cache_3
c291f89d7e 2023-08-02 顽雨沉风: local cache_4
c291f89d7e 2023-08-02 顽雨沉风: local cache_5
c291f89d7e 2023-08-02 顽雨沉风: local cache_6
c291f89d7e 2023-08-02 顽雨沉风: local cache_7
c291f89d7e 2023-08-02 顽雨沉风: local cache_8
c291f89d7e 2023-08-02 顽雨沉风: local cache_9
155b00bc3f 2024-01-23 顽雨沉风: local _
155b00bc3f 2024-01-23 顽雨沉风: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
155b00bc3f 2024-01-23 顽雨沉风: aux.BeginPuzzle = function(str_1, str_2) --{
155b00bc3f 2024-01-23 顽雨沉风: fun["aux.BeginPuzzle"]()
155b00bc3f 2024-01-23 顽雨沉风: if str_1 then --{
155b00bc3f 2024-01-23 顽雨沉风: fun["一_开局添加手卡"](str_1)
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: if str_2 then --{
155b00bc3f 2024-01-23 顽雨沉风: fun["一_禁格"](str_2)
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: fun["二_开局说明"]()
155b00bc3f 2024-01-23 顽雨沉风: fun["一_通关邀请"]()
155b00bc3f 2024-01-23 顽雨沉风: fun["一_失败得分"]()
155b00bc3f 2024-01-23 顽雨沉风: end --}
155b00bc3f 2024-01-23 顽雨沉风: --兼容层-------------------------------
30619e5bbd 2023-08-02 顽雨沉风: fun["印卡"] = fun["二_印卡"]
30619e5bbd 2023-08-02 顽雨沉风: fun["开局添加手卡"] = fun["一_开局添加手卡"]
30619e5bbd 2023-08-02 顽雨沉风: fun["是否效果卡"] = fun["一_是否效果卡"]
30619e5bbd 2023-08-02 顽雨沉风: fun["禁格"] = fun["一_禁格"]
30619e5bbd 2023-08-02 顽雨沉风: fun["随机抽卡"] = fun["一_随机抽卡"]