游戏王残局简化版

Furtie_Hubo_15_PePe.lua at [e194bf0b15]
Login

Furtie_Hubo_15_PePe.lua at [e194bf0b15]

File single/Furtie_Hubo_15_PePe.lua artifact 2ff57f9855 part of check-in e194bf0b15


--[[message
卡数:44
规则:大师3
Ultimately, you know that a deck was OP if it was significantly weakened by an emergency banlist after roughly one month.
]]

-- PePe
Debug.SetAIName("Furtie_Hubo")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,20850,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)

-- Furtie_Hubo's Hand
Debug.AddCard(18964575,1,1,LOCATION_HAND,0,POS_FACEUP) -- Swift Scarecrow

-- Furtie_Hubo's Field
Debug.AddCard(65957473,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK) -- Ehther the Heavenly Monarch
Debug.AddCard(65957473,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK) -- Ehther the Heavenly Monarch
Debug.AddCard(65957473,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) -- Ehther the Heavenly Monarch
Debug.AddCard(65957473,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK) -- Ehther the Heavenly Monarch
Debug.AddCard(65957473,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK) -- Ehther the Heavenly Monarch
Debug.AddCard(47475363,1,1,LOCATION_SZONE,0,POS_FACEDOWN) -- Drowning Mirror Force
Debug.AddCard(72302403,1,1,LOCATION_SZONE,1,POS_FACEUP) -- Swords of Revealing Light
Debug.AddCard(72302403,1,1,LOCATION_SZONE,3,POS_FACEUP) -- Swords of Revealing Light
Debug.AddCard(19474136,1,1,LOCATION_PZONE,0,POS_FACEUP) -- Timegazer Magician
Debug.AddCard(19474136,1,1,LOCATION_PZONE,1,POS_FACEUP) -- Stargazer Magician

-- Furtie_Hubo's Grave


-- Challenger's Deck
Debug.AddCard(14785765,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(92746535,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(40894584,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Jigabyte
Debug.AddCard(92746535,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(60666820,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(68819554,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(68819554,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(31292357,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(71578874,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(71578874,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(07563579,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(07563579,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(67696066,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(53724621,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(73130445,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(17330916,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(07563579,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Performage Plushfire
Debug.AddCard(40318957,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Performapal Skullcrobat Joker
Debug.AddCard(69211541,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(47075569,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(91584698,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(31222701,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(99590524,0,0,LOCATION_DECK,0,POS_FACEDOWN)

-- Challenger's Extra Deck
Debug.AddCard(22638495,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(80532587,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(17412721,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(17412721,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(18239909,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(18239909,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(16195942,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(95169481,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(34086406,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(88722973,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(54719828,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(34945480,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(08809344,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(17016362,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(06511113,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)

-- Challenger's Hand
--~ Debug.AddCard(40894584,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Jigabyte
Debug.AddCard(92746535,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Luster Pendulum, the Dracoslayer
--~ Debug.AddCard(07563579,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Performage Plushfire
--~ Debug.AddCard(40318957,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Performapal Skullcrobat Joker
Debug.AddCard(75195825,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Master Pendulum, the Dracoslayer
Debug.AddCard(31222701,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Wavering Eyes

-- Start the Puzzle
Debug.ReloadFieldEnd()

aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
Duel.RegisterEffect(e999,0)