游戏王残局简化版

Annotation For Egg-4.lua
Login

Annotation For Egg-4.lua

Lines of Egg-4.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-13
                         3: 卡数:17
                         4: 规则:新大师
                         5: ]]
                         6: --created by puzzle editor
                         7: Debug.SetAIName("蛋总")
                         8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
                         9: Debug.SetPlayerInfo(0,100,0,0)
                        10: Debug.SetPlayerInfo(1,16150,0,0)
                        11: 
                        12: --自己的怪兽区
                        13: Debug.AddCard(14878871,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --救援猫
                        14: --对方的怪兽区
                        15: Debug.AddCard(23995346,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK) --究极龙骑士
                        16: Debug.AddCard(23995346,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --究极龙骑士
                        17: Debug.AddCard(23995346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK) --究极龙骑士
                        18: --自己的魔陷区
                        19: --对方的魔陷区
                        20: Debug.AddCard(77859858,1,1,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK) --步向破灭的速攻抽卡
                        21: --自己的手卡
                        22: --对方的手卡
                        23: --自己的墓地
                        24: Debug.AddCard(96930127,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK) --链犬
                        25: Debug.AddCard(96930127,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK) --链犬
                        26: Debug.AddCard(96930127,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK) --链犬
                        27: --对方的墓地
                        28: --自己除外的卡
                        29: --对方除外的卡
                        30: --自己的卡组
                        31: Debug.AddCard(49374988,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --魔偶甜点·枫糖浆绵羊
                        32: Debug.AddCard(34680482,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --魔偶甜点·果冻天使
                        33: Debug.AddCard(91350799,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --魔偶甜点·热香饼猫头鹰
                        34: 
                        35: --自己的额外
                        36: Debug.AddCard(95169481,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --恐牙狼 钻石恐狼
                        37: Debug.AddCard(95169481,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --恐牙狼 钻石恐狼
                        38: Debug.AddCard(80764541,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --No.44 白天马
                        39: Debug.AddCard(82633039,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --鸟铳士 卡斯泰尔
                        40: Debug.AddCard(80796456,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --No.70 大罪蛛
                        41: Debug.AddCard(16195942,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --暗叛逆超量龙
                        42: Debug.AddCard(67598234,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --电影之骑士 盖亚剑士
                        43: Debug.AddCard(3987233,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --金毛妇
                        44: Debug.AddCard(3987233,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --金毛妇
                        45: Debug.AddCard(79016563,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --二进制女巫
                        46: 
                        47: Debug.ReloadFieldEnd()
                        48: aux.BeginPuzzle()
                        49: local e999=Effect.GlobalEffect()
                        50: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        51: e999:SetCode(EVENT_DAMAGE)
                        52: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        53: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        54: Debug.ShowHint("残局群181175613") end)
                        55: Duel.RegisterEffect(e999,0)
                        56: 
                        57: --~ local e1=Effect.GlobalEffect()
                        58: --~ e1:SetType(EFFECT_TYPE_FIELD)
                        59: --~ e1:SetCode(EFFECT_USE_EXTRA_MZONE)
                        60: --~ e1:SetValue(1)
                        61: --~ Duel.RegisterEffect(e1,0)