游戏王残局简化版

Annotation For QB083.lua
Login

Annotation For QB083.lua

Lines of QB083.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-10
                         3: 卡数:18
                         4: 规则:大师2020
                         5: ]]
                         6: --created by puzzle editor
                         7: --20230404
                         8: Debug.SetAIName("QB083")
                         9: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,5)
                        10: Debug.SetPlayerInfo(0,100,0,0)
                        11: Debug.SetPlayerInfo(1,11500,0,0)
                        12: 
                        13: --自己的怪兽区
                        14: --对方的怪兽区
                        15: Debug.AddCard(71594310,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE) --骨猪一掷
                        16: Debug.AddCard(71594310,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --混沌No.105 燃烧拳击手 彗星之指套拳王
                        17: --自己的魔陷区
                        18: Debug.AddCard(36690018,0,0,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK) --逆转的命运
                        19: Debug.AddCard(43422537,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK) --二重召唤
                        20: Debug.AddCard(99995595,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK) --电池回收
                        21: Debug.AddCard(35011819,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK) --帝之敕命
                        22: --对方的魔陷区
                        23: --自己的手卡
                        24: Debug.AddCard(25774450,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK) --死之魔术箱
                        25: Debug.AddCard(35781051,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK) --秘仪之力3-女帝
                        26: Debug.AddCard(21524779,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK) --雷电妈妈
                        27: Debug.AddCard(84530620,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK) --雷电爸爸
                        28: Debug.AddCard(84530620,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK) --雷电爸爸
                        29: --对方的手卡
                        30: Debug.AddCard(2830693,1,1,LOCATION_HAND,1,POS_FACEUP_ATTACK) --燃烧拳击手 脱险拳手
                        31: --自己的墓地
                        32: Debug.AddCard(54706054,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK) --测量器人
                        33: --对方的墓地
                        34: --自己除外的卡
                        35: --对方除外的卡
                        36: --自己的卡组
                        37: Debug.AddCard(99995595,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --电池回收
                        38: Debug.AddCard(21524779,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --雷电妈妈
                        39: Debug.AddCard(84530620,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --雷电爸爸
                        40: Debug.AddCard(94656263,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --影蜥蜴
                        41: --对方的卡组
                        42: --自己的额外
                        43: Debug.AddCard(65676461,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --No.32 海咬龙 鲨龙兽
                        44: Debug.AddCard(11398059,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --精怪王
                        45: Debug.AddCard(93568288,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --No.80 狂装霸王 狂想战曲王
                        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)