Commit be7f0dd4 authored by GuGu's avatar GuGu

Update c4031102.lua

parent 83bb1277
Pipeline #33278 passed with stage
in 8 seconds
......@@ -32,7 +32,7 @@ function c4031102.condition(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and re:IsActiveType(TYPE_QUICKPLAY)
end
function c4031102.filter(c)
return c:IsSetCard(0x423) and c:IsAbleToHand()
return c:IsSetCard(0x423) and c:IsAbleToHand() and c:IsType(TYPE_SPELL)
end
function c4031102.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c4031102.filter,tp,LOCATION_DECK,0,1,nil) end
......@@ -47,7 +47,7 @@ function c4031102.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c4031102.cfilter(c)
return c:IsSetCard(0x403) and c:IsAbleToRemoveAsCost()
return c:IsSetCard(0x403) and c:IsAbleToRemoveAsCost() and c:IsType(TYPE_MONSTER)
end
function c4031102.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost()
......
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