Lines of
[WCS2008]04.lua
from check-in 3dff221746
that are changed by the sequence of edits moving toward
check-in f8a1b1a6a8:
1: --[[message
3dff221746 2023-04-17 2: 更新:2023-04-13
3: 卡数:5
4: 规则:大师3
5: ]]
6: --created by ygopro puzzle maker (web)
7: Debug.SetAIName("[WCS2008]04")
8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
9: Debug.SetPlayerInfo(0,100,0,0)
10: Debug.SetPlayerInfo(1,4650,0,0)
11: Debug.AddCard(45653036,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
12: Debug.AddCard(18158397,0,0,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
13: Debug.AddCard(57610714,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
14: Debug.AddCard(80825553,1,1,LOCATION_MZONE,0,POS_FACEUP_DEFENSE)
15: Debug.AddCard(89631142,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
16: Debug.AddCard(80825553,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
17: Debug.AddCard(89631142,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
18: Debug.AddCard(81179446,1,1,LOCATION_MZONE,4,POS_FACEUP_DEFENSE)
19: Debug.AddCard(43318266,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
20: Debug.AddCard(14087893,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
21: Debug.ReloadFieldEnd()
22: --~ Debug.ShowHint("在这个回合取得胜利!")
23: aux.BeginPuzzle()
24: local e999=Effect.GlobalEffect()
25: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
26: e999:SetCode(EVENT_DAMAGE)
27: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
28: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
29: Debug.ShowHint("残局群181175613") end)
30: Duel.RegisterEffect(e999,0)