游戏王残局简化版

32.Enemy Controlled Heraldry_衍生-1.lua at [9a77fbd83b]
Login

32.Enemy Controlled Heraldry_衍生-1.lua at [9a77fbd83b]

File 32.Enemy Controlled Heraldry_衍生-1.lua artifact 26f1bfc0c4 part of check-in 9a77fbd83b


--[[message
卡数:41
规则:大师3
控敌的纹章
]]
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,2200,0,0)
Debug.SetPlayerInfo(1,168150,0,0)

local e0=Effect.GlobalEffect()
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetCountLimit(1)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,6,6,nil)
if g:GetCount()>0 then
  Duel.SendtoHand(g,nil,REASON_RULE)
end end)
Duel.RegisterEffect(e0,0)

Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(19310321,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(98045062,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(89399912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(45725480,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(76862289,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(73048641,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(45705025,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(81385346,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(53804307,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(47660516,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12247206,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82293134,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(9622164,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(89399912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(45725480,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(90411554,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(81385346,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(53804307,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(37364101,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(98045062,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(94770493,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(23649496,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(2061963,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(11522979,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(80117527,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(60802233,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(45869829,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(46652477,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(74519184,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(12510878,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(29948642,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(4392470,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(17238333,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(17238333,1,1,LOCATION_HAND,0,POS_FACEDOWN)
local g1=Debug.AddCard(47017574,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(97403510,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
Debug.AddCard(89189982,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(41218256,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g1=Debug.AddCard(11522979,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(2407234,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(6165656,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
Debug.AddCard(89631139,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(00473469,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
Debug.AddCard(57115864,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(98139712,1,1,LOCATION_SZONE,4,POS_FACEUP)
Debug.AddCard(56433456,1,1,LOCATION_SZONE,5,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()