游戏王残局简化版

Annotation For 31.Cluster of Shark Offensive.lua
Login

Annotation For 31.Cluster of Shark Offensive.lua

Origin for each line in 31.Cluster of Shark Offensive.lua from check-in 76017253cd:

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