游戏王残局简化版

Annotation For [WCS2011]-12_衍生版_1.lua
Login

Annotation For [WCS2011]-12_衍生版_1.lua

Origin for each line in [WCS2011]-12_衍生版_1.lua from check-in bbc6711f61:

bbc6711f61 2023-06-19    1: --[[message
bbc6711f61 2023-06-19    2: 卡数:13
bbc6711f61 2023-06-19    3: 规则:大师3
bbc6711f61 2023-06-19    4: ]]
bbc6711f61 2023-06-19    5: --wcs2011-12
bbc6711f61 2023-06-19    6: Debug.SetAIName("[WCS2011]-12")
bbc6711f61 2023-06-19    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
bbc6711f61 2023-06-19    8: Debug.SetPlayerInfo(0,700,0,0)
bbc6711f61 2023-06-19    9: Debug.SetPlayerInfo(1,5100,0,0)
bbc6711f61 2023-06-19   10: 
bbc6711f61 2023-06-19   11: local e0=Effect.GlobalEffect()
bbc6711f61 2023-06-19   12: e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
bbc6711f61 2023-06-19   13: e0:SetCode(EVENT_ADJUST)
bbc6711f61 2023-06-19   14: e0:SetCountLimit(1)
bbc6711f61 2023-06-19   15: e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
bbc6711f61 2023-06-19   16: e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
bbc6711f61 2023-06-19   17: local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,5,5,nil)
bbc6711f61 2023-06-19   18: if g:GetCount()>0 then
bbc6711f61 2023-06-19   19:   Duel.SendtoHand(g,nil,REASON_RULE)
bbc6711f61 2023-06-19   20: end end)
bbc6711f61 2023-06-19   21: Duel.RegisterEffect(e0,0)
bbc6711f61 2023-06-19   22: 
bbc6711f61 2023-06-19   23: Debug.AddCard(43642620,0,0,LOCATION_DECK,0,POS_FACEDOWN)
bbc6711f61 2023-06-19   24: Debug.AddCard(75652080,0,0,LOCATION_DECK,0,POS_FACEDOWN)
bbc6711f61 2023-06-19   25: Debug.AddCard(35262428,0,0,LOCATION_DECK,0,POS_FACEDOWN)
bbc6711f61 2023-06-19   26: Debug.AddCard(35262428,0,0,LOCATION_DECK,0,POS_FACEDOWN)
bbc6711f61 2023-06-19   27: Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
bbc6711f61 2023-06-19   28: Debug.AddCard(81674782,0,0,LOCATION_DECK,0,POS_FACEDOWN)
bbc6711f61 2023-06-19   29: Debug.AddCard(82732705,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
bbc6711f61 2023-06-19   30: Debug.AddCard(21070956,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
bbc6711f61 2023-06-19   31: Debug.AddCard(27551,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
bbc6711f61 2023-06-19   32: Debug.AddCard(27174286,0,0,LOCATION_SZONE,4,POS_FACEDOWN)
bbc6711f61 2023-06-19   33: Debug.AddCard(71717923,0,0,LOCATION_GRAVE,0,POS_FACEUP)
bbc6711f61 2023-06-19   34: Debug.AddCard(54541900,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   35: Debug.AddCard(54541900,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   36: Debug.AddCard(54541900,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
bbc6711f61 2023-06-19   37: Debug.AddCard(98139712,1,1,LOCATION_SZONE,2,POS_FACEUP)
bbc6711f61 2023-06-19   38: Debug.AddCard(84916669,1,1,LOCATION_GRAVE,0,POS_FACEUP)
bbc6711f61 2023-06-19   39: Debug.AddCard(43642620,1,1,LOCATION_GRAVE,0,POS_FACEUP)
bbc6711f61 2023-06-19   40: Debug.ReloadFieldEnd()
bbc6711f61 2023-06-19   41: --~ Debug.ShowHint("在这个回合取得胜利!")
bbc6711f61 2023-06-19   42: aux.BeginPuzzle()
bbc6711f61 2023-06-19   43: local e999=Effect.GlobalEffect()
bbc6711f61 2023-06-19   44: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
bbc6711f61 2023-06-19   45: e999:SetCode(EVENT_DAMAGE)
bbc6711f61 2023-06-19   46: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
bbc6711f61 2023-06-19   47: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
bbc6711f61 2023-06-19   48: Debug.ShowHint("残局群181175613") end)
bbc6711f61 2023-06-19   49: Duel.RegisterEffect(e999,0)
bbc6711f61 2023-06-19   50: