游戏王残局简化版

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

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

Origin for each line in single/31.Cluster of Shark Offensive_衍生版_1.lua from check-in e7f204fb3d:

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