Lines of
[WCS2006]02_joker.lua
from check-in f8a1b1a6a8
that are changed by the sequence of edits moving toward
check-in 46fa9991e7:
1: --[[message
f8a1b1a6a8 2023-04-17 2:
3: 卡数:10
4: 规则:大师3
5: ]]
6: Debug.SetAIName("[WCS2006]02_joker")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
8:
9: Debug.SetPlayerInfo(0,900,0,0)
10: Debug.SetPlayerInfo(1,2900,0,0)
11:
12: Debug.AddCard(00423585,0,0,LOCATION_DECK,0,POS_FACEDOWN)
13: Debug.AddCard(64788463,0,0,LOCATION_DECK,0,POS_FACEDOWN)
14: Debug.AddCard(25652259,0,0,LOCATION_DECK,0,POS_FACEDOWN)
15: Debug.AddCard(90876561,0,0,LOCATION_DECK,0,POS_FACEDOWN)
16:
17: Debug.AddCard(25334372,0,0,LOCATION_HAND,0,POS_FACEDOWN)
18: Debug.AddCard(24094653,0,0,LOCATION_HAND,0,POS_FACEDOWN)
19: Debug.AddCard(70828912,0,0,LOCATION_HAND,0,POS_FACEDOWN)
20: Debug.AddCard(32807846,0,0,LOCATION_HAND,0,POS_FACEDOWN)
21:
22: Debug.AddCard(00423585,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
23: Debug.AddCard(93445074,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
24:
25: Debug.AddCard(34460239,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
26:
27: Debug.AddCard(06150044,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
28:
29: Debug.ReloadFieldEnd()
30: --~ Debug.ShowHint("1回合內取得勝利")
31: aux.BeginPuzzle()
32: local e999=Effect.GlobalEffect()
33: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
34: e999:SetCode(EVENT_DAMAGE)
35: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
36: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
37: Debug.ShowHint("残局群181175613") end)
38: Duel.RegisterEffect(e999,0)