Lines of
[WCS2008]05.lua
from check-in f8a1b1a6a8
that are changed by the sequence of edits moving toward
check-in 46fa9991e7:
1: --[[message
f8a1b1a6a8 2023-04-17 2:
3: 卡数:7
4: 规则:大师3
5: 外星人洗脑光线发动!
6: ]]
7: --created by ygopro puzzle maker (web)
8: Debug.SetAIName("[WCS2008]05")
9: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
10: Debug.SetPlayerInfo(0,100,0,0)
11: Debug.SetPlayerInfo(1,8700,0,0)
12: Debug.AddCard(57384901,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
13: Debug.AddCard(59258334,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
14: Debug.AddCard(73262676,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
15: Debug.AddCard(98719226,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
16: Debug.AddCard(24104865,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
17: Debug.AddCard(20277860,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
18: Debug.AddCard(89631141,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
19: Debug.AddCard(13039848,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
20: Debug.AddCard(23995346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
21: Debug.AddCard(20277860,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
22: Debug.AddCard(25920413,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
23: Debug.AddCard(47529357,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
24: Debug.ReloadFieldEnd()
25: --~ Debug.ShowHint("在这个回合取得胜利!")
26: aux.BeginPuzzle()
27:
28: local e999=Effect.GlobalEffect()
29: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
30: e999:SetCode(EVENT_DAMAGE)
31: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
32: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
33: Debug.ShowHint("残局群181175613") end)
34: Duel.RegisterEffect(e999,0)