Commit f6058cfd authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent a1c1d2a2
......@@ -19,12 +19,12 @@ function s.filter(c)
return c:IsAttackAbove(1) and c:IsFaceup()
end
function s.cfilter(c)
return c:IsRace(RACE_SPELLCASTER) and c:IsFaceup()
return c:IsRace(RACE_SPELLCASTER) and c:IsFaceupEx()
end
function s.adtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and s.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(s.filter,tp,0,LOCATION_MZONE,1,nil)
and Duel.IsExistingTarget(s.cfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) end
and Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,s.filter,tp,0,LOCATION_MZONE,1,2,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