Lines of
single/[WCS2008]04.lua
from check-in e7f204fb3d
that are changed by the sequence of edits moving toward
check-in 6626c4425a:
1: --[[message
e7f204fb3d 2023-06-29 2: 卡数:5
e7f204fb3d 2023-06-29 3: 规则:大师3
4: ]]
5:
6: Debug.SetAIName("[WCS2008]04")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
8: Debug.SetPlayerInfo(0,100,0,0)
9: Debug.SetPlayerInfo(1,4650,0,0)
10: Debug.AddCard(45653036,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
11: Debug.AddCard(18158397,0,0,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
12: Debug.AddCard(57610714,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
13: Debug.AddCard(80825553,1,1,LOCATION_MZONE,0,POS_FACEUP_DEFENSE)
14: Debug.AddCard(89631142,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
15: Debug.AddCard(80825553,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
16: Debug.AddCard(89631142,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
17: Debug.AddCard(81179446,1,1,LOCATION_MZONE,4,POS_FACEUP_DEFENSE)
18: Debug.AddCard(43318266,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
19: Debug.AddCard(14087893,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
20: Debug.ReloadFieldEnd()
21:
22: aux.BeginPuzzle()
e7f204fb3d 2023-06-29 23:
e7f204fb3d 2023-06-29 24: local str = {}
e7f204fb3d 2023-06-29 25: local fun = {}
e7f204fb3d 2023-06-29 26:
e7f204fb3d 2023-06-29 27: local cache1
e7f204fb3d 2023-06-29 28:
e7f204fb3d 2023-06-29 29: fun["通关邀请"]=function()
e7f204fb3d 2023-06-29 30: local e100
e7f204fb3d 2023-06-29 31: e100=Effect.GlobalEffect()
e7f204fb3d 2023-06-29 32: e100:SetType(EFFECT_TYPE_FIELD
e7f204fb3d 2023-06-29 33: + EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29 34: e100:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29 35: function cache1(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29 36: return Duel.GetLP(1)<=0
e7f204fb3d 2023-06-29 37: end
e7f204fb3d 2023-06-29 38: e100:SetCondition(cache1)
e7f204fb3d 2023-06-29 39: function cache1(e,tp,eg,ep,ev,re,r,rp)
e7f204fb3d 2023-06-29 40: Debug.ShowHint("残局群181175613")
e7f204fb3d 2023-06-29 41: return
e7f204fb3d 2023-06-29 42: end
e7f204fb3d 2023-06-29 43: e100:SetOperation(cache1)
e7f204fb3d 2023-06-29 44: Duel.RegisterEffect(e100,0)
e7f204fb3d 2023-06-29 45: end
e7f204fb3d 2023-06-29 46:
e7f204fb3d 2023-06-29 47: fun["通关邀请"]()
e7f204fb3d 2023-06-29 48: