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

vme50

parent d14d1a15
No preview for this file type
--逆转检事 狩魔冥
function c33200503.initial_effect(c)
aux.AddCodeList(c,33200501)
aux.AddCodeList(c,33200500)
--pendulum summon
aux.EnablePendulumAttribute(c)
......
......@@ -63,16 +63,15 @@ function c33200522.tzcon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler():GetFlagEffect(33200500)>0 and re:IsActiveType(TYPE_MONSTER) and rp==tp
end
function c33200522.tztg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_HAND,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_HAND,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CARDTYPE)
e:SetLabel(Duel.AnnounceType(tp))
end
function c33200522.tzop(e,tp,eg,ep,ev,re,r,rp)
local typ=e:GetLabel()
local c=e:GetHandler()
if not Duel.IsExistingMatchingCard(c33200522.exfilter2,tp,0,LOCATION_HAND,1,nil) then return end
local g=Duel.SelectMatchingCard(c33200522.exfilter2,tp,0,LOCATION_HAND,1,1,nil)
if g>GetCount()>0 then
local g=Duel.GetMatchingGroup(c33200522.exfilter2,tp,0,LOCATION_HAND,nil,typ)
if g:GetCount()>0 then
for tc in aux.Next(g) do
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......
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