Lines of
single/LV-051.lua
from check-in 8e78a4f297
that are changed by the sequence of edits moving toward
check-in cc94208d8c:
1: --puzzle1
2: Debug.SetAIName("Level-051")
8e78a4f297 2023-07-29 3: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
4: Debug.SetPlayerInfo(0,600,0,0)
5: Debug.SetPlayerInfo(1,1900,0,0)
6:
7: Debug.AddCard(63259351,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
8: Debug.AddCard(22587018,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
9:
10: Debug.AddCard(80604091,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
11:
12: Debug.AddCard(85520851,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
13: Debug.AddCard(22587018,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
14: Debug.AddCard(22587018,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
15:
16: Debug.AddCard(79759861,0,0,LOCATION_HAND,0,POS_FACEDOWN)
17: Debug.AddCard(58071123,0,0,LOCATION_HAND,0,POS_FACEDOWN)
18: Debug.AddCard(75390004,0,0,LOCATION_HAND,0,POS_FACEDOWN)
19: Debug.AddCard(13069066,0,0,LOCATION_HAND,0,POS_FACEDOWN)
20:
21: Debug.AddCard(12829151,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
22: Debug.AddCard(23995346,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
23: Debug.AddCard(23995346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
24: Debug.AddCard(12829151,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
25:
26: Debug.ReloadFieldEnd()
8e78a4f297 2023-07-29 27: Debug.ShowHint("GAME START!")
28: aux.BeginPuzzle()
8e78a4f297 2023-07-29 29: local e999=Effect.GlobalEffect()
8e78a4f297 2023-07-29 30: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
8e78a4f297 2023-07-29 31: e999:SetCode(EVENT_DAMAGE)
8e78a4f297 2023-07-29 32: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
8e78a4f297 2023-07-29 33: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
8e78a4f297 2023-07-29 34: Debug.ShowHint("残局群181175613") end)
8e78a4f297 2023-07-29 35: Duel.RegisterEffect(e999,0)