游戏王残局简化版

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 8b6b38fd89:

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