游戏王残局简化版

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 072e496e9f:

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