Commit e9a068e2 authored by POLYMER's avatar POLYMER

fix

parent ca623825
......@@ -116,7 +116,7 @@ function cm.fil1(c)
return c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsFaceup()
end
function cm.fil2(c)
return c:IsType(TYPE_FUSION) and c:IsRace(RACE_ILLUSION) and c:IsFaceup()
return c:IsType(TYPE_FUSION) and c:IsFaceup()
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,c)
if chk==0 then return e:GetHandler():IsAbleToHand() end
......
......@@ -71,11 +71,13 @@ function cm.fil4(c)
return c:IsOriginalCodeRule(60010252) and c:IsFaceup() and c:IsAbleToRemoveAsCost() and c:IsCanBeFusionMaterial()
end
function cm.spcon(e,c)
local tp=e:GetHandlerPlayer()
if c==nil then return true end
return Duel.IsExistingMatchingCard(cm.fil3,tp,LOCATION_SZONE,0,1,nil)
and Duel.IsExistingMatchingCard(cm.fil4,tp,LOCATION_MZONE,0,1,nil)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local tp=e:GetHandlerPlayer()
local g=Duel.GetMatchingGroup(cm.fil4,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local sg=g:Select(tp,1,1,nil)
......
......@@ -60,7 +60,7 @@ function c98930402.initial_effect(c)
c:RegisterEffect(e3)
end
function c98930402.sfilter(c,e,tp)
return c:GetOriginalType()&TYPE_MONSTER>0 and c:GetType()&TYPE_CONTINUOUS+TYPE_SPELL==TYPE_CONTINUOUS+TYPE_SPELL
return c:GetOriginalType()&TYPE_MONSTER>0
and c:IsFaceup()
end
function c98930402.spfilter(c,fc,tp)
......
......@@ -48,7 +48,7 @@ function c98930403.initial_effect(c)
c:RegisterEffect(e3)
end
function c98930403.filter(c)
return c:GetOriginalType()&TYPE_MONSTER>0 and c:GetType()&TYPE_CONTINUOUS+TYPE_SPELL==TYPE_CONTINUOUS+TYPE_SPELL
return c:GetOriginalType()&TYPE_MONSTER>0
and c:IsFaceup()
end
function c98930403.indescon(e)
......
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