Lines of
single/sample9.lua
from check-in e7f204fb3d
that are changed by the sequence of edits moving toward
check-in e2c3bec93f:
1: --[[message
e7f204fb3d 2023-06-29 2: 卡数:11
e7f204fb3d 2023-06-29 3: 规则:大师2020
4: 综合残局2
5: ]]
6: Debug.SetAIName("sample9")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
8: Debug.SetPlayerInfo(0,100,0,0)
9: Debug.SetPlayerInfo(1,4300,0,0)
10:
11: Debug.AddCard(00027551,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
12:
13: Debug.AddCard(67441435,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
14: Debug.AddCard(50720316,0,0,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
15:
16: Debug.AddCard(01845204,0,0,LOCATION_HAND,0,POS_FACEDOWN)
17:
18: Debug.AddCard(63060238,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
19: Debug.AddCard(15839054,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
20: Debug.AddCard(24094653,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
21: Debug.AddCard(45906428,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
22:
23: Debug.AddCard(16304628,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
24: Debug.AddCard(45815891,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
25: Debug.AddCard(34086406,0,0,LOCATION_EXTRA,2,POS_FACEDOWN)
26: Debug.AddCard(17412721,0,0,LOCATION_EXTRA,3,POS_FACEDOWN)
27:
28: Debug.AddCard(74677422,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
29: Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
30:
31: --~ Debug.AddCard(70342110,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
32:
33: Debug.ReloadFieldEnd()
34: --~ Debug.ShowHint("GAME START!")
35: aux.BeginPuzzle()
36: local e999=Effect.GlobalEffect()
37: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
38: e999:SetCode(EVENT_DAMAGE)
39: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
40: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
41: Debug.ShowHint("残局群181175613") end)
42: Duel.RegisterEffect(e999,0)