游戏王残局简化版

Check-in [ac819336b2]
Login

Check-in [ac819336b2]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ac819336b2a2b5cbbc4dcb10865c12ac5d843a5d9440d5fab76de38f49ace234
User & Date: 顽雨沉风 on 2024-02-14 02:09:13
Other Links: manifest | tags
Context
2024-02-14
02:14
check-in: 14fe398ae9 user: 顽雨沉风 tags: trunk
02:09
check-in: ac819336b2 user: 顽雨沉风 tags: trunk
02:05
check-in: ad8a165722 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [1e8ad05bc9] to [7a0740b822].

37
38
39
40
41
42
43








44
45

46
47
48
49
50
51




52
53
54
55
56

57
58
59
60


61
62
63
64
65
66
67
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

53
54
55




56
57
58
59





60




61
62
63
64
65
66
67
68
69







+
+
+
+
+
+
+
+

-
+


-
-
-
-
+
+
+
+
-
-
-
-
-
+
-
-
-
-
+
+







    else
      s["则"] = h1[5]
      end
    s["Debug.ReloadFieldBegin"](u1, u2)
    end
  end
do
  local h1
  --~ 调该效果的效果
  function s["_开局洗牌抽牌"](u1)
    Duel.ShuffleDeck(0)
    --~ 抽卡之数
    Duel.Draw(0, h1, REASON_RULE)
    u1:Reset()
    end
  function s["开局洗牌抽牌"](u1)
    local h1, h2
    local h2
    s["开局洗牌抽牌之数"] = u1
    --~ 效果
    h1 = Effect.GlobalEffect()
    h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h1:SetCode(EVENT_ADJUST)
    h1:SetCondition(aux.TRUE)
    h2 = Effect.GlobalEffect()
    h2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h2:SetCode(EVENT_ADJUST)
    h2:SetCondition(aux.TRUE)
    -- 随机抽牌
    --~ 调该效果的效果
    function h2(u2)
      Duel.ShuffleDeck(0)
      Duel.Draw(0, u1, REASON_RULE)
    h1 = u1
      u2:Reset()
      end
    h1:SetOperation(h2)
    Duel.RegisterEffect(h1, 0)
    h2:SetOperation(s["_开局洗牌抽牌"])
    Duel.RegisterEffect(h2, 0)
    end
  end
function s.["不被连锁"]()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
do