Commit dfe92493 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 44587eed
......@@ -69,7 +69,7 @@ function c12400072.con(e,c)
end
function c12400072.op(e,tp,eg,ep,ev,re,r,rp)
local p=e:GetHandler():GetControler()
local g=Duel.GetMatchingGroup(c12400072.w,p,LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE,0,nil)
local g=Duel.GetMatchingGroup(c12400072.w,p,LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local fg=g:Select(p,3,6,nil)
......
......@@ -3,7 +3,7 @@ function c12400075.initial_effect(c)
aux.IsCodeListed(12400075)
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,c12400075.mfilter,2,true)
aux.AddContactFusionProcedure(c,c12400075.cfilter,LOCATION_MZONE+LOCATION_HAND,0,nil)
aux.AddContactFusionProcedure(c,c12400075.cfilter,LOCATION_MZONE+LOCATION_HAND,0,Duel.SendtoGrave,REASON_COST)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
......
......@@ -290,12 +290,12 @@ function Tenka.YunaHeath(c)
end
--
function Tenka.MiuCost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_GRAVE,0,1,nil)
if chk==0 then return Duel.IsExistingMatchingCard(Tenka.costfilter,tp,LOCATION_GRAVE,0,1,nil)
or Duel.IsPlayerAffectedByEffect(tp,1090006) end
if Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_GRAVE,0,1,nil)
and not Duel.IsPlayerAffectedByEffect(tp,1090006) then
if Duel.IsExistingMatchingCard(Tenka.costfilter,tp,LOCATION_GRAVE,0,1,nil)
and (not Duel.IsPlayerAffectedByEffect(tp,1090006) or not Duel.SelectYesNo(tp,aux.Stringid(1090006,0))) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_GRAVE,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,Tenka.costfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_COST)
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment