Commit 67b69d52 authored by salix5's avatar salix5

fix 相剣大公-承影

■『③』の効果は、モンスタートークンが除外された場合には発動できません。
parent b91551c3
...@@ -42,6 +42,7 @@ function c96633955.initial_effect(c) ...@@ -42,6 +42,7 @@ function c96633955.initial_effect(c)
e6:SetRange(LOCATION_MZONE) e6:SetRange(LOCATION_MZONE)
e6:SetCode(EVENT_REMOVE) e6:SetCode(EVENT_REMOVE)
e6:SetCountLimit(1,96633955) e6:SetCountLimit(1,96633955)
e6:SetCondition(c96633955.remcon)
e6:SetTarget(c96633955.remtg) e6:SetTarget(c96633955.remtg)
e6:SetOperation(c96633955.remop) e6:SetOperation(c96633955.remop)
c:RegisterEffect(e6) c:RegisterEffect(e6)
...@@ -63,6 +64,12 @@ function c96633955.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -63,6 +64,12 @@ function c96633955.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
return true return true
else return false end else return false end
end end
function c96633955.remfilter(c)
return not c:IsType(TYPE_TOKEN)
end
function c96633955.remcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c96633955.remfilter,1,nil)
end
function c96633955.remtg(e,tp,eg,ep,ev,re,r,rp,chk) function c96633955.remtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_ONFIELD,1,nil) if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_ONFIELD,1,nil)
and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_GRAVE,1,nil) end and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_GRAVE,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