Lines of
X-LV-24.lua
from check-in 3dff221746
that are changed by the sequence of edits moving toward
check-in f8a1b1a6a8:
1: --[[message
3dff221746 2023-04-17 2: 更新:2023-04-11
3: 卡数:4
4: 规则:新大师
5: ]]
6: --By OURYGO-YGO EZ manager
7: Debug.SetAIName("顽雨沉风")
8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
9: Debug.SetPlayerInfo(0,8000,0,0)
10: Debug.SetPlayerInfo(1,900,0,0)
11: local g02=Debug.AddCard(48783998,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
12: local g12=Debug.AddCard(83011277,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
13: local m02=Debug.AddCard(31036355,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
14: local m03=Debug.AddCard(10012614,0,0,LOCATION_SZONE,3,POS_FACEUP)
15: --~ local c0=Debug.AddCard(56433456,0,0,LOCATION_SZONE,5,POS_FACEUP)
16: --~ Debug.AddCard(59546797,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
17: Debug.AddCard(98582704,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
18: Debug.AddCard(15303296,1,1,LOCATION_DECK,0,POS_FACEUP_ATTACK)
19: Debug.ReloadFieldEnd()
20: aux.BeginPuzzle()
21: local e999=Effect.GlobalEffect()
22: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
23: e999:SetCode(EVENT_DAMAGE)
24: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
25: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
26: Debug.ShowHint("残局群181175613") end)
27: Duel.RegisterEffect(e999,0)