游戏王残局简化版

30.Inhuman Unicore.lua at [d5e5e24444]
Login

30.Inhuman Unicore.lua at [d5e5e24444]

File 30.Inhuman Unicore.lua artifact 7b38a28897 part of check-in d5e5e24444


--[[message
卡数:53
规则:大师3
毫无人性的尤尼科
]]
--puzzle1
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,2100,0,0)
Debug.SetPlayerInfo(1,33400,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,5,5,nil)
if g:GetCount()>0 then
  Duel.SendtoHand(g,nil,REASON_RULE)
end end)
Duel.RegisterEffect(e0,0)

Debug.AddCard(85605684,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(37742478,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(49267971,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(6850209,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(98045062,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(31829185,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(23434538,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(1475311,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(24508238,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(9622164,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(72989439,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(51630558,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(64034255,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(41442341,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(19439119,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(72892473,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97651498,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(3972721,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(38737148,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(74848038,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(56399890,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97439806,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(19439119,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(72892473,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--~ Debug.AddCard(97651498,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(14198496,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(50091196,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(44155002,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(38354937,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(37910722,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(42956963,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(50933533,1,1,LOCATION_DECK,0,POS_FACEUP)
Debug.AddCard(4906301,1,1,LOCATION_DECK,0,POS_FACEUP)
Debug.AddCard(88305978,1,1,LOCATION_DECK,0,POS_FACEUP)
Debug.AddCard(12275533,1,1,LOCATION_DECK,0,POS_FACEUP)
Debug.AddCard(44330098,1,1,LOCATION_DECK,0,POS_FACEUP)
Debug.AddCard(64605089,1,1,LOCATION_DECK,0,POS_FACEUP)
Debug.AddCard(86039057,1,1,LOCATION_HAND,0,POS_FACEUP)
Debug.AddCard(95360850,1,1,LOCATION_HAND,0,POS_FACEUP)
Debug.AddCard(82593786,1,1,LOCATION_HAND,0,POS_FACEUP)
Debug.AddCard(45118716,1,1,LOCATION_HAND,0,POS_FACEUP)
Debug.AddCard(14017402,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(80208158,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(23899727,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(26593852,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK,true)
Debug.AddCard(10248389,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
Debug.AddCard(71203602,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK,true)
local m2=Debug.AddCard(59170782,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE,true)
local s2=Debug.AddCard(8719957,1,1,LOCATION_SZONE,2,POS_FACEUP)
Debug.PreEquip(s2,m2)
Debug.AddCard(58120309,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
Debug.AddCard(70284332,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(59695933,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(48130397,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
Debug.AddCard(37694547,1,1,LOCATION_SZONE,5,POS_FACEUP)
Debug.ReloadFieldEnd()
--~ Debug.ShowHint("在这个回合取得胜利!")

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)