游戏王残局简化版

Annotation For 30.Inhuman Unicore - 副本.lua
Login

Annotation For 30.Inhuman Unicore - 副本.lua

Origin for each line in 30.Inhuman Unicore - 副本.lua from check-in c784c5db57:

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