Commit 578d6082 authored by mallu11's avatar mallu11 Committed by GitHub

fix EM天空の魔術師 (#1405)

parent 8a154cd5
......@@ -95,11 +95,11 @@ function c58092907.cfilter(c,type)
end
function c58092907.meop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(c58092907.mefilter1,tp,LOCATION_MZONE,0,c)
local b1=c:IsRelateToEffect(e) and g:IsExists(c58092907.cfilter,1,c,TYPE_FUSION)
local b2=g:IsExists(c58092907.cfilter,1,c,TYPE_SYNCHRO)
local b3=c:IsRelateToEffect(e) and c:IsFaceup() and g:IsExists(c58092907.cfilter,1,c,TYPE_XYZ)
local b4=Duel.IsExistingMatchingCard(c58092907.mefilter2,tp,LOCATION_MZONE,0,1,e:GetHandler())
local g=Duel.GetMatchingGroup(c58092907.mefilter1,tp,LOCATION_MZONE,0,aux.ExceptThisCard(e))
local b1=c:IsRelateToEffect(e) and g:IsExists(c58092907.cfilter,1,nil,TYPE_FUSION)
local b2=g:IsExists(c58092907.cfilter,1,nil,TYPE_SYNCHRO)
local b3=c:IsRelateToEffect(e) and c:IsFaceup() and g:IsExists(c58092907.cfilter,1,nil,TYPE_XYZ)
local b4=Duel.IsExistingMatchingCard(c58092907.mefilter2,tp,LOCATION_MZONE,0,1,aux.ExceptThisCard(e))
and Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_DECK,0,1,nil,TYPE_PENDULUM)
if b1 then
local e1=Effect.CreateEffect(c)
......
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