Commit 0036de8b authored by mercury233's avatar mercury233 Committed by GitHub

fix 憶念の相剣

parent 62309a5b
...@@ -14,6 +14,7 @@ function c99137266.initial_effect(c) ...@@ -14,6 +14,7 @@ function c99137266.initial_effect(c)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetCode(EVENT_REMOVE) e2:SetCode(EVENT_REMOVE)
e2:SetCountLimit(1,99137266) e2:SetCountLimit(1,99137266)
e2:SetCondition(c99137266.remcon)
e2:SetTarget(c99137266.remtg) e2:SetTarget(c99137266.remtg)
e2:SetOperation(c99137266.remop) e2:SetOperation(c99137266.remop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -29,6 +30,12 @@ function c99137266.initial_effect(c) ...@@ -29,6 +30,12 @@ function c99137266.initial_effect(c)
e3:SetOperation(c99137266.spop) e3:SetOperation(c99137266.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c99137266.remfilter(c)
return not c:IsType(TYPE_TOKEN)
end
function c99137266.remcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c99137266.remfilter,1,nil)
end
function c99137266.rmfilter(c) function c99137266.rmfilter(c)
return (c:IsType(TYPE_SYNCHRO) and c:IsRace(RACE_WYRM) or c:IsSetCard(0x16b)) return (c:IsType(TYPE_SYNCHRO) and c:IsRace(RACE_WYRM) or c:IsSetCard(0x16b))
and c:IsAbleToRemove() and (c:IsFaceup() or not c:IsOnField()) and c:IsAbleToRemove() and (c:IsFaceup() or not c:IsOnField())
......
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