游戏王残局简化版

Annotation For huamei01.lua
Login

Annotation For huamei01.lua

Lines of huamei01.lua from check-in f9ada86ed4 that are changed by the sequence of edits moving toward check-in 13feeb1c71:

                         1: --[[message
f9ada86ed4 2023-05-13    2: 卡数:21
                         3: 规则:大师3
                         4: ]]
                         5: --created by ygopro puzzle maker
                         6: Debug.SetAIName("花妹")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         8: Debug.SetPlayerInfo(0,666,0,0)
                         9: Debug.SetPlayerInfo(1,23333,0,0)
                        10: 
                        11: local e0=Effect.GlobalEffect()
                        12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        13: e0:SetCode(EVENT_ADJUST)
                        14: e0:SetCountLimit(1)
                        15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
                        16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,5,5,nil)
                        18: if g:GetCount()>0 then
                        19:   Duel.SendtoHand(g,nil,REASONDECKE)
                        20: end end)
                        21: Duel.RegisterEffect(e0,0)
                        22: 
                        23: --my hand
                        24: Debug.AddCard(31036355,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        25: Debug.AddCard(28741524,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        26: 
                        27: Debug.AddCard(19163116,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        28: 
                        29: --my deck
                        30: Debug.AddCard(50457953,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        31: Debug.AddCard(02295440,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        32: Debug.AddCard(51790181,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        33: Debug.AddCard(61632317,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        34: 
                        35: --my grave
                        36: Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        37: Debug.AddCard(90411554,0,0,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
                        38: Debug.AddCard(58695102,0,0,LOCATION_GRAVE,2,POS_FACEUP_ATTACK)
                        39: Debug.AddCard(71692913,0,0,LOCATION_GRAVE,3,POS_FACEUP_ATTACK)
                        40: Debug.AddCard(21615956,0,0,LOCATION_GRAVE,4,POS_FACEUP_ATTACK)
                        41: Debug.AddCard(74677422,0,0,LOCATION_GRAVE,5,POS_FACEUP_ATTACK)
                        42: Debug.AddCard(01833916,0,0,LOCATION_GRAVE,6,POS_FACEUP_ATTACK)
                        43: Debug.AddCard(14785765,0,0,LOCATION_GRAVE,7,POS_FACEUP_ATTACK)
                        44: 
                        45: --my extra
                        46: Debug.AddCard(34408491,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        47: Debug.AddCard(91949988,0,0,LOCATION_EXTRA,2,POS_FACEDOWN_ATTACK)
                        48: Debug.AddCard(44405066,0,0,LOCATION_EXTRA,3,POS_FACEDOWN_ATTACK)
                        49: Debug.AddCard(08809344,0,0,LOCATION_EXTRA,4,POS_FACEDOWN_ATTACK)
                        50: Debug.AddCard(22110647,0,0,LOCATION_EXTRA,5,POS_FACEDOWN_ATTACK)
                        51: 
                        52: --ai mzone
                        53: Debug.AddCard(38495396,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        54: Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        55: 
                        56: --ai szone
                        57: 
                        58: --ai fzone
                        59: Debug.AddCard(57554544,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
                        60: 
                        61: Debug.ReloadFieldEnd()
                        62: aux.BeginPuzzle()
                        63: 
                        64: local e999=Effect.GlobalEffect()
                        65: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
                        66: e999:SetCode(EVENT_DAMAGE)
                        67: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
                        68: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
                        69: Debug.ShowHint("残局群181175613") end)
                        70: Duel.RegisterEffect(e999,0)