Commit 96061e66 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 6adef3e8
Pipeline #30175 passed with stages
in 41 minutes and 56 seconds
......@@ -2,23 +2,23 @@
local m=11600108
local cm=_G["c"..m]
function cm.initial_effect(c)
--
c:EnableReviveLimit()
--
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3540),4,2)
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,m)
e1:SetCost(cm.cost1)
e1:SetTarget(cm.tg1)
e1:SetOperation(cm.op1)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
--
c:EnableReviveLimit()
--
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3540),4,2)
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,m)
e1:SetCost(cm.cost1)
e1:SetTarget(cm.tg1)
e1:SetOperation(cm.op1)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1))
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY)
......@@ -67,9 +67,9 @@ function cm.ter22(c)
return c:IsSetCard(0x3541) and c:IsType(TYPE_MONSTER) and c:IsCanOverlay()
end
function cm.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsPosition(LOCATION_MZONE) and cm.ter2(chkc) end
if chkc then return chkc:IsLocation(LOCATION_MZONE) and cm.ter2(chkc) end
if chk==0 then return Duel.IsExistingTarget(cm.ter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
and Duel.IsExistingMatchingCard(cm.ter22,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,e:GetHandler()) end
and Duel.IsExistingMatchingCard(cm.ter22,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,cm.ter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
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