Lines of
single/[WCS2008]01.lua
from check-in e7f204fb3d
that are changed by the sequence of edits moving toward
check-in b7b3eab094:
1: --[[message
e7f204fb3d 2023-06-29 2: 卡数:5
e7f204fb3d 2023-06-29 3: 规则:大师3
4: ]]
5: --created by ygopro puzzle maker (web)
6: Debug.SetAIName("[WCS2008]01")
7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
8: Debug.SetPlayerInfo(0,100,0,0)
9: Debug.SetPlayerInfo(1,800,0,0)
10: Debug.AddCard(99788587,0,0,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
11:
12: Debug.AddCard(63394872,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
13: Debug.AddCard(89631141,1,1,LOCATION_SZONE,4,POS_FACEDOWN_ATTACK)
14: Debug.AddCard(76573247,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
15: Debug.AddCard(76573247,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
16: Debug.AddCard(89631141,1,1,LOCATION_MZONE,0,POS_FACEUP_DEFENSE)
17: Debug.AddCard(89631141,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE)
18: Debug.AddCard(89631141,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
19: Debug.AddCard(89631141,1,1,LOCATION_MZONE,3,POS_FACEUP_DEFENSE)
20: Debug.AddCard(89631141,1,1,LOCATION_MZONE,4,POS_FACEUP_DEFENSE)
21: Debug.AddCard(37480144,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
22: Debug.ReloadFieldEnd()
23:
24: aux.BeginPuzzle()
e7f204fb3d 2023-06-29 25: local str = {}
e7f204fb3d 2023-06-29 26: local fun = {}
e7f204fb3d 2023-06-29 27:
e7f204fb3d 2023-06-29 28: local cache1
e7f204fb3d 2023-06-29 29:
e7f204fb3d 2023-06-29 30: fun["通关邀请"]=function()
e7f204fb3d 2023-06-29 31: local e100
e7f204fb3d 2023-06-29 32: e100=Effect.GlobalEffect()
e7f204fb3d 2023-06-29 33: e100:SetType(EFFECT_TYPE_FIELD+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: