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