游戏王残局简化版

Annotation For Dragonmaids vs Dragons_衍生-2.lua
Login

Annotation For Dragonmaids vs Dragons_衍生-2.lua

Lines of Dragonmaids vs Dragons_衍生-2.lua from check-in 89ec992ba7 that are changed by the sequence of edits moving toward check-in 92777dff98:

                         1: --[[message
                         2: 卡数:
                         3: 规则:大师2020
                         4: This Puzzle is made by 闪光的白日梦 and optimized by Eroldin.
                         5: ]]
                         6: 
                         7: Debug.SetAIName("闪光的白日梦")
                         8: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
                         9: Debug.SetPlayerInfo(0,1100,0,0)
e5c9649401 2023-06-05   10: Debug.SetPlayerInfo(1,12600,0,0)
                        11: 
                        12: Debug.AddCard(40110009,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        13: Debug.AddCard(78625592,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        14: Debug.AddCard(42055234,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        15: Debug.AddCard(49575521,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        16: Debug.AddCard(32600024,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
                        17: Debug.AddCard(15848542,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
                        18: Debug.AddCard(24799107,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        19: Debug.AddCard(41232647,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
                        20: Debug.AddCard(14625090,0,0,LOCATION_SZONE,0,POS_FACEUP_ATTACK)
                        21: Debug.AddCard(62256492,0,0,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
                        22: Debug.AddCard(62256492,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
                        23: Debug.AddCard(77515704,0,0,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
                        24: Debug.AddCard(56051086,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        25: Debug.AddCard(40398073,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
                        26: --~ Debug.AddCard(69196160,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
                        27: Debug.AddCard(76782778,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
                        28: Debug.AddCard(13171876,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
                        29: Debug.AddCard(80161395,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
                        30: Debug.AddCard(44095762,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
                        31: Debug.AddCard(99267151,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
                        32: Debug.AddCard(86780027,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
                        33: 
                        34: Debug.AddCard(50913601,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
89ec992ba7 2023-06-05   35: Debug.AddCard(48179391,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
                        36: Debug.AddCard(99267151,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
                        37: Debug.AddCard(99267151,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
                        38: Debug.AddCard(77910045,1,1,LOCATION_SZONE,4,POS_FACEUP_ATTACK)
                        39: Debug.AddCard(10669138,1,1,LOCATION_MZONE,6,POS_FACEUP_ATTACK)
                        40: Debug.ReloadFieldEnd()
                        41: aux.BeginPuzzle()
                        42: 
                        43: 
                        44: 
                        45: local str = {}
                        46: local fun = {}
                        47: 
                        48: local cache1
                        49: 
                        50: fun["通关邀请"]=function()
                        51:   local effect_100
                        52:   effect_100 = Effect.GlobalEffect()
                        53:   effect_100:SetType(EFFECT_TYPE_FIELD
                        54:     + EFFECT_TYPE_CONTINUOUS)
                        55:   effect_100:SetCode(EVENT_DAMAGE)
                        56:   function cache_1(effect_event
                        57:     , player_who_activate_the_effect
                        58:     , card_gruop_for_effect
                        59:     , player_for_effect_event
                        60:     , value_for_effect
                        61:     , effect_for_trigger
                        62:     , reason_for_trigger
                        63:     , player_who_trigger)
                        64: 
                        65:     cache_1 = Duel.GetLP(1)
                        66: 
                        67:     return cache_1 <= 0
                        68:     end
                        69:   effect_100:SetCondition(cache_1)
                        70:   function cache_1(effect_event
                        71:     , player_who_activate_the_effect
                        72:     , card_gruop_for_effect
                        73:     , player_for_effect_event
                        74:     , value_for_effect
                        75:     , effect_for_trigger
                        76:     , reason_for_trigger
                        77:     , player_who_trigger)
                        78:     Debug.ShowHint("残局群181175613")
                        79:     return
                        80:     end
                        81:   effect_100:SetOperation(cache_1)
                        82:   Duel.RegisterEffect(effect_100
                        83:     , 0)
                        84:   end
                        85: 
                        86: 
                        87: fun["通关邀请"]()
                        88: