游戏王残局简化版

Annotation For 31.Cluster of Shark Offensive_衍生版_1.lua
Login

Annotation For 31.Cluster of Shark Offensive_衍生版_1.lua

Lines of 31.Cluster of Shark Offensive_衍生版_1.lua from check-in 907d8fb3e3 that are changed by the sequence of edits moving toward check-in 85e89effab:

                         1: --[[message
                         2: 卡数:42
                         3: 规则:大师3
                         4: 群鲨攻势
                         5: ]]
                         6: Debug.SetAIName("四妹")
                         7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
                         8: Debug.SetPlayerInfo(0,1100,0,0)
907d8fb3e3 2023-06-28    9: Debug.SetPlayerInfo(1,51100,0,0)
                        10: 
                        11: Debug.AddCard(99004583,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        12: Debug.AddCard(25067275,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        13: Debug.AddCard(67675300,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        14: Debug.AddCard(9952083,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        15: Debug.AddCard(43138260,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        16: Debug.AddCard(56747793,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        17: Debug.AddCard(40916023,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        18: Debug.AddCard(3972721,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        19: Debug.AddCard(15893860,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        20: Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        21: Debug.AddCard(64319467,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        22: Debug.AddCard(1845204,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        23: Debug.AddCard(96947648,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        24: Debug.AddCard(26400609,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        25: Debug.AddCard(90303176,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        26: Debug.AddCard(72355441,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        27: Debug.AddCard(62023839,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        28: Debug.AddCard(51282878,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
                        29: Debug.AddCard(27174286,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
                        30: Debug.AddCard(26708437,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        31: Debug.AddCard(7092142,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
                        32: Debug.AddCard(21044178,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        33: Debug.AddCard(21044178,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        34: Debug.AddCard(94380860,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        35: Debug.AddCard(65676461,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        36: Debug.AddCard(65676461,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        37: Debug.AddCard(49221191,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        38: Debug.AddCard(52687916,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        39: Debug.AddCard(80516007,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        40: Debug.AddCard(12275533,1,1,LOCATION_DECK,0,POS_FACEDOWN)
                        41: Debug.AddCard(82593786,1,1,LOCATION_HAND,0,POS_FACEDOWN)
                        42: Debug.AddCard(30042158,1,1,LOCATION_GRAVE,0,POS_FACEDOWN)
                        43: Debug.AddCard(39823987,1,1,LOCATION_GRAVE,0,POS_FACEDOWN,true)
                        44: Debug.AddCard(44155002,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK,true)
                        45: Debug.AddCard(79194594,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK,true)
                        46: Debug.AddCard(66818682,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
                        47: Debug.AddCard(93353691,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
                        48: Debug.AddCard(44155002,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK,true)
                        49: Debug.AddCard(80887714,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
                        50: Debug.AddCard(20721759,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
                        51: Debug.AddCard(60967717,1,1,LOCATION_SZONE,2,POS_FACEUP)
                        52: Debug.AddCard(96008713,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
                        53: Debug.AddCard(75105429,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
                        54: Debug.ReloadFieldEnd()
                        55: aux.BeginPuzzle()
                        56: 
                        57: local str = {}
                        58: local fun = {}
                        59: 
                        60: local cache_1
                        61: local cache_2
                        62: 
                        63: fun["通关邀请"] = function()
                        64:   local effect_1
                        65:   effect_1 = Effect.GlobalEffect()
                        66:   effect_1:SetType(EFFECT_TYPE_FIELD
                        67:     + EFFECT_TYPE_CONTINUOUS)
                        68:   effect_1:SetCode(EVENT_DAMAGE)
                        69:   function cache_1()
                        70:     cache_1 = Duel.GetLP(1)
                        71:     if cache_1 <= 0 then
                        72:       cache_1 = true
                        73:     else
                        74:       cache_1 = false
                        75:       end
                        76:     return cache_1
                        77:     end
                        78:   effect_1:SetCondition(cache_1)
                        79:   function cache_1()
                        80:     Debug.ShowHint("残局群181175613")
                        81:     return
                        82:     end
                        83:   effect_1:SetOperation(cache_1)
                        84:   Duel.RegisterEffect(effect_1
                        85:     , 0)
                        86:   end
                        87: 
                        88: fun["开局添加手卡"] = function(str_1)
                        89:   local effect_1
                        90:   effect_1 = Effect.GlobalEffect()
                        91:   effect_1:SetType(EFFECT_TYPE_FIELD
                        92:     + EFFECT_TYPE_CONTINUOUS)
                        93:   effect_1:SetCode(EVENT_ADJUST)
                        94:   effect_1:SetCountLimit(1)
                        95:   function cache_1()
                        96:     return true
                        97:     end
                        98:   effect_1:SetCondition(cache_1)
                        99:   function cache_1(effect_event
                       100:     , player_who_activate_the_effect)
                       101:     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
                       102:        , Card.IsAbleToHand
                       103:        , player_who_activate_the_effect
                       104:        , LOCATION_DECK
                       105:        , 0
                       106:        , str_1
                       107:        , str_1
                       108:        , nil)
                       109:     Duel.SendtoHand(str["玩家选定的卡"]
                       110:       , nil
                       111:       , REASON_RULE)
                       112:     end
                       113:   effect_1:SetOperation(cache_1)
                       114:   Duel.RegisterEffect(effect_1
                       115:     , 0)
                       116:   end
                       117: 
                       118: fun["通关邀请"]()
                       119: fun["开局添加手卡"](6)
                       120: