Lines of
single/sample5.lua
from check-in e7f204fb3d
that are changed by the sequence of edits moving toward
check-in 683597afb4:
1: --[[message
e7f204fb3d 2023-06-29 2: 卡数:0
e7f204fb3d 2023-06-29 3: 规则:大师2020
4: 灵摆召唤入门1
5: ]]
6: Debug.SetAIName("sample5")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
8: Debug.SetPlayerInfo(0,100,0,0)
9: Debug.SetPlayerInfo(1,1900,0,0)
10:
11: Debug.AddCard(28363749,0,0,LOCATION_HAND,0,POS_FACEDOWN)
12: Debug.AddCard(17390179,0,0,LOCATION_HAND,0,POS_FACEDOWN)
13: Debug.AddCard(92125819,0,0,LOCATION_HAND,0,POS_FACEDOWN)
14: Debug.AddCard(76908448,0,0,LOCATION_HAND,0,POS_FACEDOWN)
15: Debug.AddCard(43096270,0,0,LOCATION_HAND,0,POS_FACEDOWN)
16: Debug.AddCard(14214060,0,0,LOCATION_HAND,0,POS_FACEDOWN)
17:
18: --~ Debug.AddCard(16195942,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
19:
20: Debug.AddCard(91731841,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
21: Debug.AddCard(21251800,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
22:
23: Debug.ReloadFieldEnd()
24: --~ Debug.ShowHint("GAME START!")
25: aux.BeginPuzzle()
e7f204fb3d 2023-06-29 26: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29 27: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29 28: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29 29: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29 30: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29 31: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29 32: Duel.RegisterEffect(e999,0)