游戏王残局简化版

Furtie_Hubo_14_Nekroz.lua at [cb873b01c8]
Login

Furtie_Hubo_14_Nekroz.lua at [cb873b01c8]

File Furtie_Hubo_14_Nekroz.lua artifact 3918d2179b part of check-in cb873b01c8


--[[message
卡数:29
规则:大师3
Be cautious! Nekroz of Trishula will punish you if you do not get rid of your whole hand.
]]

-- Nekroz
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,8400,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,4,4,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
Debug.AddCard(18964575,1,1,LOCATION_HAND,0,POS_FACEUP) -- Swift Scarecrow

-- Furtie_Hubo's Field
Debug.AddCard(47475363,1,1,LOCATION_SZONE,1,POS_FACEDOWN) -- Drowning Mirror Force
Debug.AddCard(47475363,1,1,LOCATION_SZONE,3,POS_FACEDOWN) -- Drowning Mirror Force

-- Furtie_Hubo's Grave
Debug.AddCard(34710660,1,1,LOCATION_GRAVE,0,POS_FACEUP) -- Electromagnetic Turtle
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) -- Electromagnetic Turtle

-- Challenger's Deck
Debug.AddCard(31292357,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(90307777,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(84388461,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(26674724,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(99185129,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(88240999,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(74122412,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(52068432,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(25857246,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(68819554,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Performage Damage Juggler
Debug.AddCard(89463537,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Nekroz of Unicore
Debug.AddCard(51124303,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(14735698,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97211663,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(32807846,0,0,LOCATION_DECK,0,POS_FACEDOWN)

-- Challenger's Extra Deck
Debug.AddCard(79606837,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(79606837,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(23995346,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(41517789,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)


-- Challenger's Hand
Debug.AddCard(53180020,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Exa, Enforcer of the Nekroz
Debug.AddCard(16229315,0,0,LOCATION_HAND,0,POS_FACEDOWN) -- Gale Dogra
Debug.AddCard(27796375,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Great Sorcerer of the Nekroz
--~ Debug.AddCard(68819554,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Performage Damage Juggler
--~ Debug.AddCard(89463537,0,0,LOCATION_DECK,0,POS_FACEDOWN) -- Nekroz of Unicore
Debug.AddCard(96729612,0,0,LOCATION_HAND,0,POS_FACEDOWN) -- Preparation of Rites

-- Start the Puzzle
Debug.ReloadFieldEnd()

Debug.ShowHint("从卡组中选择四张卡加入手卡!")
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)