游戏王残局简化版

Check-in [f75e15cfc3]
Login

Check-in [f75e15cfc3]

Overview
Comment:0.0.852
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f75e15cfc3fb5889201d6f7ffd4f0919eca1f4f19016121720e328e3a1ddb05b
User & Date: 顽雨沉风 on 2023-07-07 11:14:10
Other Links: manifest | tags
Context
2023-07-07
11:15
0.0.853 check-in: f209dfc4fd user: 顽雨沉风 tags: trunk
11:14
0.0.852 check-in: f75e15cfc3 user: 顽雨沉风 tags: trunk
11:12
0.0.851 check-in: 2e3f194829 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [42d6ce36ef] to [36ead2509f].

178
179
180
181
182
183
184
185




























186
178
179
180
181
182
183
184

185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213







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

  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD)
  effect_1:SetCode(EFFECT_USE_EXTRA_MZONE)
  effect_1:SetValue(str_1)
  Duel.RegisterEffect(effect_1,0)
  end

fun["印卡残局"] = function(str_1)
fun["印卡"] = function(str_1)
local n=0

function print_hand(e,tp,eg,ep,ev,re,r,rp)
  local ac=Duel.AnnounceCard(tp)
  local c=Duel.CreateToken(tp,ac)
  if n<2 then
    Duel.SendtoHand(c,nil,REASON_RULE)
    Duel.ShuffleHand(tp)
    n=n+1
  else
    if n==10 then
      Debug.ShowHint("印卡过多,审判降临!")
      Duel.SetLP(0,0)
    else
      n=n+1
      Duel.Remove(c,POS_FACEUP,REASON_RULE)
      Duel.SendtoDeck(c,tp,0,REASON_RULE)
    end
  end
end

local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_BOTH_SIDE)
e1:SetRange(LOCATION_EXTRA)
e1:SetOperation(print_hand)
c:RegisterEffect(e1)
  end