Lines of
single/sample2.lua
from check-in e7f204fb3d
that are changed by the sequence of edits moving toward
check-in 6d8c9b85c5:
1: --[[message
e7f204fb3d 2023-06-29 2: 卡数:8
e7f204fb3d 2023-06-29 3: 规则:大师2020
4: 同调召唤入门
5: ]]
6: Debug.SetAIName("sample2")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
8: Debug.SetPlayerInfo(0,100,0,0)
9: Debug.SetPlayerInfo(1,3100,0,0)
10:
11: Debug.AddCard(00027551,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
12:
13: Debug.AddCard(34100324,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
14:
15: Debug.AddCard(83764718,0,0,LOCATION_HAND,0,POS_FACEDOWN)
16: Debug.AddCard(96363153,0,0,LOCATION_HAND,0,POS_FACEDOWN)
17:
18: Debug.AddCard(63977008,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
19: Debug.AddCard(40348946,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
20:
21: Debug.AddCard(68124775,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
22: Debug.AddCard(26593852,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
23:
24: Debug.AddCard(34408491,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
25: Debug.AddCard(16527176,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
26:
27: Debug.ReloadFieldEnd()
28:
29: aux.BeginPuzzle()
30:
e7f204fb3d 2023-06-29 31: local e999=Effect.GlobalEffect()
e7f204fb3d 2023-06-29 32: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29 33: e999:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29 34: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e7f204fb3d 2023-06-29 35: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29 36: Debug.ShowHint("残局群181175613") end)
e7f204fb3d 2023-06-29 37: Duel.RegisterEffect(e999,0)