eeeff3c24b 2023-07-15 顽雨沉风:
6d182363a9 2023-06-30 顽雨沉风: str = {}
75bd4dfc8f 2023-07-11 顽雨沉风:
6d182363a9 2023-06-30 顽雨沉风: fun = {}
6a7e89e8d0 2023-06-30 顽雨沉风:
ad797768a6 2023-07-14 顽雨沉风: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
350cd0ad57 2023-06-30 顽雨沉风:
6f45c2f05c 2023-07-11 顽雨沉风: Debug.ReloadFieldBegin = function(str_1, str_2) --{
993a6dbc45 2023-07-13 顽雨沉风:
350cd0ad57 2023-06-30 顽雨沉风: str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
5744929923 2023-07-11 顽雨沉风:
4be88097db 2023-07-05 顽雨沉风: str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
1fb42895ff 2023-07-11 顽雨沉风:
5744929923 2023-07-11 顽雨沉风: if str_2 then --{
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: if str_2 == 3 then --{
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: str["规则"] = "大师3 "
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: elseif str_2 == 4 then --{
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: str["规则"] = "新大师 "
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: elseif str_2 == 5 then --{
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: str["规则"] = "大师2020 "
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: str["规则"] = "大师2020 "
993a6dbc45 2023-07-13 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
ad797768a6 2023-07-14 顽雨沉风: fun["Debug.ReloadFieldBegin"](str_1, str_2)
675931c589 2023-07-15 顽雨沉风:
675931c589 2023-07-15 顽雨沉风: end --}
675931c589 2023-07-15 顽雨沉风:
7b13e3e7c3 2023-07-16 顽雨沉风: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
7b13e3e7c3 2023-07-16 顽雨沉风:
02cee86a5d 2023-07-16 顽雨沉风: aux.BeginPuzzle = function() --{
c1424b8fad 2023-07-16 顽雨沉风:
02cee86a5d 2023-07-16 顽雨沉风: fun["aux.BeginPuzzle"]()
c1424b8fad 2023-07-16 顽雨沉风:
02cee86a5d 2023-07-16 顽雨沉风: fun["开局说明"]()
c1424b8fad 2023-07-16 顽雨沉风:
cd5279993d 2023-07-16 顽雨沉风: fun["通关邀请"]()
c1424b8fad 2023-07-16 顽雨沉风:
02cee86a5d 2023-07-16 顽雨沉风: end --}
c1424b8fad 2023-07-16 顽雨沉风:
993a6dbc45 2023-07-13 顽雨沉风: fun["通关邀请"] = function() --{
993a6dbc45 2023-07-13 顽雨沉风:
8736d64183 2023-07-11 顽雨沉风: effect_1 = Effect.GlobalEffect()
8736d64183 2023-07-11 顽雨沉风:
8736d64183 2023-07-11 顽雨沉风: effect_1:SetType(EFFECT_TYPE_FIELD
8736d64183 2023-07-11 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
8736d64183 2023-07-11 顽雨沉风:
8736d64183 2023-07-11 顽雨沉风: effect_1:SetCode(EVENT_DAMAGE)
1fb42895ff 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: function cache_1() --{
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_1 = Duel.GetLP(1)
1fb42895ff 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: if cache_1 <= 0 then --{
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: if cache_1 < 0 then --{
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: Debug.ShowHint("QB:「你居然二解了,请加群告诉我怎么二解。」")
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: cache_1 = true
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: cache_1 = false
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: return cache_1
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: effect_1:SetCondition(cache_1)
1fb42895ff 2023-07-11 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: function cache_1() --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: Debug.ShowHint("残局群181175613")
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: effect_1:SetOperation(cache_1)
588454a9f9 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: Duel.RegisterEffect(effect_1
588454a9f9 2023-07-11 顽雨沉风: , 0)
45478ef823 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: fun["是否效果卡"] = function(card) --{
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_1 = Card.IsType(card, TYPE_SPELL)
588454a9f9 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_2 = Card.IsType(card, TYPE_TRAP)
588454a9f9 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_3 = Card.IsType(card, TYPE_EFFECT)
ebd8dd9982 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: if cache_1
588454a9f9 2023-07-11 顽雨沉风: or cache_2
588454a9f9 2023-07-11 顽雨沉风: or cache_3 then --{
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: return true
45478ef823 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_1 = Card.IsType(card, TYPE_PENDULUM)
ebd8dd9982 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: if cache_1 then --{
993a6dbc45 2023-07-13 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_1 = Card.IsCode(card, 28363749)
588454a9f9 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_2 = Card.IsCode(card, 19474136)
588454a9f9 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_3 = Card.IsCode(card, 17390179)
588454a9f9 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: cache_4 = Card.IsCode(card, 83980492)
ebd8dd9982 2023-07-11 顽雨沉风:
588454a9f9 2023-07-11 顽雨沉风: if cache_1
588454a9f9 2023-07-11 顽雨沉风: or cache_2
588454a9f9 2023-07-11 顽雨沉风: or cache_3
588454a9f9 2023-07-11 顽雨沉风: or cache_4 then --{
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: return true
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: return false
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: fun["开局说明"] = function() --{
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: if str["开局说明吗"] == 1 then --{
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: return
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: str["开局说明吗"] = 1
45478ef823 2023-07-13 顽雨沉风:
7c21defa68 2023-07-13 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = 0
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_DECK
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_HAND
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_MZONE
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_SZONE
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_GRAVE
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_REMOVED
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_EXTRA
1fb42895ff 2023-07-11 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,cache_1,cache_1,nil)
1fb42895ff 2023-07-11 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
1fb42895ff 2023-07-11 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: for k in aux.Next(cache_1) do --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: cache_1 = fun["是否效果卡"](k)
ebd8dd9982 2023-07-11 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: if cache_1 then --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] =""
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "卡 "
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. str["规则"]
ebd8dd9982 2023-07-11 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: if str["不洗牌"] == 0 then --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "伪洗牌 "
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: if str["无BP"] == 0 then --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "无BP "
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: if str["开局添加手卡"] then --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "选"
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. str["开局添加手卡"]
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "卡 "
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: if str["禁格"] then --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "禁"
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. str["禁格"]
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "格 "
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: if str["印卡"] then --{
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: str["开局说明"] = str["开局说明"] .. "印卡 "
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: Debug.ShowHint(str["开局说明"])
ebd8dd9982 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
921f62028c 2023-07-16 顽雨沉风: --~ fun["开局添加手卡"] = function(str_1) --{
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ str["开局添加手卡"] = str_1
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ effect_1 = Effect.GlobalEffect()
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ effect_1:SetType(EFFECT_TYPE_FIELD
921f62028c 2023-07-16 顽雨沉风: --~ + EFFECT_TYPE_CONTINUOUS)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ effect_1:SetCode(EVENT_ADJUST)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ effect_1:SetCountLimit(1)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ function cache_1() --{
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ if str["已添加手卡"] == 1 then --{
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ return false
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ --}
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ else --{
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ str["已添加手卡"] = 1
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ return true
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ end --}
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ end--}
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ effect_1:SetCondition(cache_1)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ function cache_1(effect_event
921f62028c 2023-07-16 顽雨沉风: --~ , player_who_activate_the_effect) --{
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
921f62028c 2023-07-16 顽雨沉风: --~ , Card.IsAbleToHand
921f62028c 2023-07-16 顽雨沉风: --~ , player_who_activate_the_effect
921f62028c 2023-07-16 顽雨沉风: --~ , LOCATION_DECK
921f62028c 2023-07-16 顽雨沉风: --~ , 0
921f62028c 2023-07-16 顽雨沉风: --~ , str_1
921f62028c 2023-07-16 顽雨沉风: --~ , str_1
921f62028c 2023-07-16 顽雨沉风: --~ , nil)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ Duel.SendtoHand(str["玩家选定的卡"]
921f62028c 2023-07-16 顽雨沉风: --~ , nil
921f62028c 2023-07-16 顽雨沉风: --~ , REASON_RULE)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ end --}
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ effect_1:SetOperation(cache_1)
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风: --~ Duel.RegisterEffect(effect_1
921f62028c 2023-07-16 顽雨沉风: --~ , 0)
921f62028c 2023-07-16 顽雨沉风:
921f62028c 2023-07-16 顽雨沉风: --~ end --}
921f62028c 2023-07-16 顽雨沉风: --~
921f62028c 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: fun["开局添加手卡"] = function(str_1) --{
8e87626fe9 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: str["开局添加手卡"] = str_1
8e87626fe9 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: effect_1 = Effect.GlobalEffect()
8e87626fe9 2023-07-16 顽雨沉风:
e8a4eb1d6e 2023-07-16 顽雨沉风: effect_1:SetType(EFFECT_TYPE_FIELD
e8a4eb1d6e 2023-07-16 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
b08e3d3ba8 2023-07-16 顽雨沉风:
1539e099d7 2023-07-16 顽雨沉风: effect_1:SetCode(EVENT_ADJUST)
1539e099d7 2023-07-16 顽雨沉风:
0f0474f258 2023-07-16 顽雨沉风:
0f0474f258 2023-07-16 顽雨沉风: effect_1:SetCondition(aux.TRUE())
8e87626fe9 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: function cache_1(effect_event
8e87626fe9 2023-07-16 顽雨沉风: , player_who_activate_the_effect) --{
8e87626fe9 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
4e8f89ad97 2023-07-11 顽雨沉风: , Card.IsAbleToHand
8e87626fe9 2023-07-16 顽雨沉风: , player_who_activate_the_effect
4e8f89ad97 2023-07-11 顽雨沉风: , LOCATION_DECK
4e8f89ad97 2023-07-11 顽雨沉风: , 0
4e8f89ad97 2023-07-11 顽雨沉风: , str_1
4e8f89ad97 2023-07-11 顽雨沉风: , str_1
4e8f89ad97 2023-07-11 顽雨沉风: , nil)
4e8f89ad97 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: Duel.SendtoHand(str["玩家选定的卡"]
4e8f89ad97 2023-07-11 顽雨沉风: , nil
4e8f89ad97 2023-07-11 顽雨沉风: , REASON_RULE)
1539e099d7 2023-07-16 顽雨沉风:
e28a9fe965 2023-07-16 顽雨沉风: effect_event:Reset()
8e87626fe9 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: end --}
8e87626fe9 2023-07-16 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: effect_1:SetOperation(cache_1)
4e8f89ad97 2023-07-11 顽雨沉风:
8e87626fe9 2023-07-16 顽雨沉风: Duel.RegisterEffect(effect_1
8e87626fe9 2023-07-16 顽雨沉风: , 0)
8e87626fe9 2023-07-16 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: fun["禁格"] = function(str_1) --{
993a6dbc45 2023-07-13 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: str["禁格"] = str_1
4e8f89ad97 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: effect_1 = Effect.GlobalEffect()
4e8f89ad97 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: effect_1:SetType(EFFECT_TYPE_FIELD)
4e8f89ad97 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: effect_1:SetCode(EFFECT_USE_EXTRA_MZONE)
4e8f89ad97 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: effect_1:SetValue(str_1)
4e8f89ad97 2023-07-11 顽雨沉风:
4e8f89ad97 2023-07-11 顽雨沉风: Duel.RegisterEffect(effect_1,0)
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: fun["印卡"] = function(str_1, str_2, str_3) --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: str["印卡"] = 1
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: if str_3 then --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: str_3 = str_2
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: str["当前印卡数"] = 1
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1 = Effect.CreateEffect(str_1)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetType(EFFECT_TYPE_IGNITION)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetProperty(EFFECT_FLAG_BOTH_SIDE
d5d0e03305 2023-07-11 顽雨沉风: + EFFECT_FLAG_UNCOPYABLE
d5d0e03305 2023-07-11 顽雨沉风: + EFFECT_FLAG_CANNOT_NEGATE
d5d0e03305 2023-07-11 顽雨沉风: + EFFECT_FLAG_CANNOT_DISABLE)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = function() --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Duel.SetChainLimit(aux.FALSE)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: return true
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetTarget(cache_1)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetRange(LOCATION_EXTRA)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: function print_hand(effect_event
d5d0e03305 2023-07-11 顽雨沉风: , player_who_activate_the_effect) --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: card = Duel.CreateToken(player_who_activate_the_effect
d5d0e03305 2023-07-11 顽雨沉风: , announce_card)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: if str["当前印卡数"] <= str_2 then --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: str["当前印卡数"] = str["当前印卡数"] + 1
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Duel.SendtoHand(card,nil,REASON_RULE)
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: if str["当前印卡数"] <= str_3 then --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: str["当前印卡数"] = str["当前印卡数"] + 1
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Duel.Remove(card,POS_FACEUP,REASON_RULE)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE)
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Debug.ShowHint("印卡过多!")
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetOperation(print_hand)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: str_1:RegisterEffect(effect_1)
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: fun["全部回到卡组"] = function() --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Debug.ShowHint("胜利条件:让对方的卡回到卡组。")
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1 = Effect.GlobalEffect()
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetType(EFFECT_TYPE_FIELD
d5d0e03305 2023-07-11 顽雨沉风: + EFFECT_TYPE_CONTINUOUS)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetCode(EVENT_ADJUST)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = function() --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = 0
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_HAND
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_MZONE
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_SZONE
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_GRAVE
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = cache_1 + LOCATION_REMOVED
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = Duel.GetFieldGroupCount(1,cache_1,0)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: if cache_1 == 0 then --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: return true
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: else --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: return false
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetCondition(cache_1)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: cache_1 = function() --{
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Debug.ShowHint("目标已达成!")
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Duel.SetLP(1,0)
45478ef823 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: effect_1:SetOperation(cache_1)
d5d0e03305 2023-07-11 顽雨沉风:
d5d0e03305 2023-07-11 顽雨沉风: Duel.RegisterEffect(effect_1,0)
45478ef823 2023-07-13 顽雨沉风:
1fb42895ff 2023-07-11 顽雨沉风: end --}
993a6dbc45 2023-07-13 顽雨沉风: