游戏王残局简化版

Check-in [27a22e0f7e]
Login

Check-in [27a22e0f7e]

Overview
Comment:0
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 27a22e0f7ead393348534ac55862dc1af343bcfdec8c520627a7206c16e1a94d
User & Date: 顽雨沉风 on 2024-07-18 22:36:05
Other Links: manifest | tags
Context
2024-07-18
22:38
0 check-in: bfb6ab1ca7 user: 顽雨沉风 tags: trunk
22:36
0 check-in: 27a22e0f7e user: 顽雨沉风 tags: trunk
22:34
0 check-in: 33a7684417 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [3f8daaa593] to [5aad40194b].

109
110
111
112
113
114
115
116
117
118



119
120
121

122
123
124
125

126
127
128
129
130
131
132
133
134
135
136
137

138
139
140
141
142
143
144
145
146
147







148
149
150
151
152
153
154
109
110
111
112
113
114
115



116
117
118
119
120

121
122
123
124

125
126
127
128
129
130
131
132
133
134
135
136

137
138
139
140







141
142
143
144
145
146
147
148
149
150
151
152
153
154







-
-
-
+
+
+


-
+



-
+











-
+



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







  k3 = 0
  k4 = 0
  --~ 效果_所调用这个效果的效果
  --~ 数_所调用这个效果的玩家
  f["_印卡"] = function(o1, o2)
    --~ 数_玩家宣言要印的卡之卡片编号
    --~ 卡
    local k5, k6
    k5 = Duel.AnnounceCard(o2)
    k6 = Duel.CreateToken(o2, k5)
    local k11, k12
    k11 = Duel.AnnounceCard(o2)
    k6 = Duel.CreateToken(o2, k11)
    if k2 <= k3 then
      k2 = k2 + 1
      Duel.SendtoHand(k6, nil, REASON_RULE)
      Duel.SendtoHand(k12, nil, REASON_RULE)
    else
      if k2 <= k4 then
        k2 = k2 + 1
        Duel.SendtoDeck(k6, o2, 0, REASON_RULE)
        Duel.SendtoDeck(k12, o2, 0, REASON_RULE)
      else
        Debug.ShowHint(k1)
        o1:Reset()
        end
      end
    end
  --~ 卡_印卡的启动源
  --~ 量_手卡印卡数量的上限
  --~ 量_印卡总数量的上限
  f["印卡"] = function(o1, o2, o3)
    --~ 效果
    local k5
    local k11
    k3 = o2
    k4 = o3 or o2
    Debug.ShowHint("点击对方额外卡组,可以印卡\n只能印 " .. k3 .. " 张手卡\n最多可印 " .. k4 .. " 张卡")
    k5 = Effect.CreateEffect(o1)
    k5:SetType(EFFECT_TYPE_IGNITION)
    k5:SetProperty(EFFECT_FLAG_BOTH_SIDE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_CANNOT_DISABLE)
    k5:SetTarget(f["不被连锁"])
    k5:SetRange(LOCATION_EXTRA)
    k5:SetOperation(f["_印卡"])
    o1:RegisterEffect(k5)
    k11 = Effect.CreateEffect(o1)
    k11:SetType(EFFECT_TYPE_IGNITION)
    k11:SetProperty(EFFECT_FLAG_BOTH_SIDE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_CANNOT_DISABLE)
    k11:SetTarget(f["不被连锁"])
    k11:SetRange(LOCATION_EXTRA)
    k11:SetOperation(f["_印卡"])
    o1:RegisterEffect(k11)
    end
  end
f["开局说明"] = function()
  --~ 字_开局说明
  --~ 量_我方的效果卡
  --~ 组_我方超量素材
  --~ 量_对方的效果卡