游戏王残局简化版

Annotation For single/30.Inhuman Unicore.lua
Login

Annotation For single/30.Inhuman Unicore.lua

Lines of single/30.Inhuman Unicore.lua from check-in e7f204fb3d that are changed by the sequence of edits moving toward check-in efc0b5dd9b:

                         1: --[[message
e7f204fb3d 2023-06-29    2: 卡数:53
e7f204fb3d 2023-06-29    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,2100,0,0)
                         9: Debug.SetPlayerInfo(1,33400,0,0)
                        10: 
                        11: Debug.AddCard(85605684,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        12: Debug.AddCard(37742478,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        13: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        14: Debug.AddCard(49267971,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        15: Debug.AddCard(6850209,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        16: Debug.AddCard(98045062,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        17: Debug.AddCard(31829185,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        18: Debug.AddCard(23434538,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        19: Debug.AddCard(1475311,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        20: Debug.AddCard(24508238,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        21: Debug.AddCard(9622164,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        22: Debug.AddCard(72989439,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        23: Debug.AddCard(51630558,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        24: Debug.AddCard(64034255,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        25: Debug.AddCard(41442341,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        26: Debug.AddCard(19439119,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        27: Debug.AddCard(72892473,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        28: Debug.AddCard(97651498,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        29: Debug.AddCard(3972721,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        30: Debug.AddCard(38737148,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        31: Debug.AddCard(74848038,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        32: Debug.AddCard(56399890,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        33: Debug.AddCard(97439806,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        34: --~ Debug.AddCard(19439119,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        35: --~ Debug.AddCard(72892473,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        36: --~ Debug.AddCard(97651498,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        37: Debug.AddCard(14198496,0,0,LOCATION_DECK,0,POS_FACEDOWN)
                        38: Debug.AddCard(50091196,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        39: Debug.AddCard(44155002,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        40: Debug.AddCard(38354937,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        41: Debug.AddCard(37910722,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
                        42: Debug.AddCard(42956963,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
                        43: Debug.AddCard(50933533,1,1,LOCATION_DECK,0,POS_FACEUP)
                        44: Debug.AddCard(4906301,1,1,LOCATION_DECK,0,POS_FACEUP)
                        45: Debug.AddCard(88305978,1,1,LOCATION_DECK,0,POS_FACEUP)
                        46: Debug.AddCard(12275533,1,1,LOCATION_DECK,0,POS_FACEUP)
                        47: Debug.AddCard(44330098,1,1,LOCATION_DECK,0,POS_FACEUP)
                        48: Debug.AddCard(64605089,1,1,LOCATION_DECK,0,POS_FACEUP)
                        49: Debug.AddCard(86039057,1,1,LOCATION_HAND,0,POS_FACEUP)
                        50: Debug.AddCard(95360850,1,1,LOCATION_HAND,0,POS_FACEUP)
                        51: Debug.AddCard(82593786,1,1,LOCATION_HAND,0,POS_FACEUP)
                        52: Debug.AddCard(45118716,1,1,LOCATION_HAND,0,POS_FACEUP)
                        53: Debug.AddCard(14017402,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
                        54: Debug.AddCard(80208158,1,1,LOCATION_GRAVE,0,POS_FACEUP)
                        55: Debug.AddCard(23899727,1,1,LOCATION_GRAVE,0,POS_FACEUP)
                        56: Debug.AddCard(26593852,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK,true)
                        57: Debug.AddCard(10248389,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
                        58: Debug.AddCard(71203602,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK,true)
                        59: local m2=Debug.AddCard(59170782,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE,true)
                        60: local s2=Debug.AddCard(8719957,1,1,LOCATION_SZONE,2,POS_FACEUP)
                        61: Debug.PreEquip(s2,m2)
                        62: Debug.AddCard(58120309,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
                        63: Debug.AddCard(70284332,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
                        64: Debug.AddCard(59695933,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
                        65: Debug.AddCard(48130397,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
                        66: Debug.AddCard(37694547,1,1,LOCATION_SZONE,5,POS_FACEUP)
                        67: Debug.ReloadFieldEnd()
                        68: aux.BeginPuzzle()
                        69: 
e7f204fb3d 2023-06-29   70: local str = {}
e7f204fb3d 2023-06-29   71: local fun = {}
e7f204fb3d 2023-06-29   72: 
e7f204fb3d 2023-06-29   73: local cache_1
e7f204fb3d 2023-06-29   74: local cache_2
e7f204fb3d 2023-06-29   75: 
e7f204fb3d 2023-06-29   76: fun["通关邀请"] = function()
e7f204fb3d 2023-06-29   77:   local effect_1
e7f204fb3d 2023-06-29   78:   effect_1 = Effect.GlobalEffect()
e7f204fb3d 2023-06-29   79:   effect_1:SetType(EFFECT_TYPE_FIELD
e7f204fb3d 2023-06-29   80:     + EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29   81:   effect_1:SetCode(EVENT_DAMAGE)
e7f204fb3d 2023-06-29   82:   function cache_1()
e7f204fb3d 2023-06-29   83:     cache_1 = Duel.GetLP(1)
e7f204fb3d 2023-06-29   84:     if cache_1 <= 0 then
e7f204fb3d 2023-06-29   85:       cache_1 = true
e7f204fb3d 2023-06-29   86:     else
e7f204fb3d 2023-06-29   87:       cache_1 = false
e7f204fb3d 2023-06-29   88:       end
e7f204fb3d 2023-06-29   89:     return cache_1
e7f204fb3d 2023-06-29   90:     end
e7f204fb3d 2023-06-29   91:   effect_1:SetCondition(cache_1)
e7f204fb3d 2023-06-29   92:   function cache_1()
e7f204fb3d 2023-06-29   93:     Debug.ShowHint("残局群181175613")
e7f204fb3d 2023-06-29   94:     return
e7f204fb3d 2023-06-29   95:     end
e7f204fb3d 2023-06-29   96:   effect_1:SetOperation(cache_1)
e7f204fb3d 2023-06-29   97:   Duel.RegisterEffect(effect_1
e7f204fb3d 2023-06-29   98:     , 0)
e7f204fb3d 2023-06-29   99:   end
e7f204fb3d 2023-06-29  100: 
e7f204fb3d 2023-06-29  101: fun["开局添加手卡"] = function(str_1)
e7f204fb3d 2023-06-29  102:   local effect_1
e7f204fb3d 2023-06-29  103:   effect_1 = Effect.GlobalEffect()
e7f204fb3d 2023-06-29  104:   effect_1:SetType(EFFECT_TYPE_FIELD
e7f204fb3d 2023-06-29  105:     + EFFECT_TYPE_CONTINUOUS)
e7f204fb3d 2023-06-29  106:   effect_1:SetCode(EVENT_ADJUST)
e7f204fb3d 2023-06-29  107:   effect_1:SetCountLimit(1)
e7f204fb3d 2023-06-29  108:   function cache_1()
e7f204fb3d 2023-06-29  109:     return true
e7f204fb3d 2023-06-29  110:     end
e7f204fb3d 2023-06-29  111:   effect_1:SetCondition(cache_1)
e7f204fb3d 2023-06-29  112:   function cache_1(effect_event
e7f204fb3d 2023-06-29  113:     , player_who_activate_the_effect)
e7f204fb3d 2023-06-29  114:     str["玩家选定的卡"] = Duel.SelectMatchingCard(player_who_activate_the_effect
e7f204fb3d 2023-06-29  115:        , Card.IsAbleToHand
e7f204fb3d 2023-06-29  116:        , player_who_activate_the_effect
e7f204fb3d 2023-06-29  117:        , LOCATION_DECK
e7f204fb3d 2023-06-29  118:        , 0
e7f204fb3d 2023-06-29  119:        , str_1
e7f204fb3d 2023-06-29  120:        , str_1
e7f204fb3d 2023-06-29  121:        , nil)
e7f204fb3d 2023-06-29  122:     Duel.SendtoHand(str["玩家选定的卡"]
e7f204fb3d 2023-06-29  123:       , nil
e7f204fb3d 2023-06-29  124:       , REASON_RULE)
e7f204fb3d 2023-06-29  125:     end
e7f204fb3d 2023-06-29  126:   effect_1:SetOperation(cache_1)
e7f204fb3d 2023-06-29  127:   Duel.RegisterEffect(effect_1
e7f204fb3d 2023-06-29  128:     , 0)
e7f204fb3d 2023-06-29  129:   end
e7f204fb3d 2023-06-29  130: 
                       131: fun["通关邀请"]()
e7f204fb3d 2023-06-29  132: fun["开局添加手卡"](5)
                       133: 
                       134: