Lines of
sample7.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-16
3: 卡数:7
4: 规则:大师2020
5: 连接召唤入门
6: ]]
7: Debug.SetAIName("sample7")
8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
9: Debug.SetPlayerInfo(0,100,0,0)
10: Debug.SetPlayerInfo(1,3000,0,0)
11:
12: Debug.AddCard(81275020,0,0,LOCATION_HAND,0,POS_FACEDOWN) --陀螺
13: Debug.AddCard(645087,0,0,LOCATION_HAND,0,POS_FACEDOWN) --工具
14:
15: Debug.AddCard(50185950,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK) --栗子球
16:
17: Debug.AddCard(53932291,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK) --竹蜻蜓
18: Debug.AddCard(59546797,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK) --妖形杵
19:
20: Debug.AddCard(1861629,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --解码
21:
22: Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --黑魔导
23: Debug.AddCard(62279055,1,1,LOCATION_SZONE,2,POS_FACEDOWN) --魔法筒
24:
25: Debug.ReloadFieldEnd()
26: aux.BeginPuzzle()
27: local e999=Effect.GlobalEffect()
28: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
29: e999:SetCode(EVENT_DAMAGE)
30: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
31: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
32: Debug.ShowHint("残局群181175613") end)
33: Duel.RegisterEffect(e999,0)