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