Commit a515cdbd authored by wind2009's avatar wind2009

Merge branch 'patch-7' into 'master'

Fix プレイ・ザ・ディアベル

See merge request mycard/pre-release-database-cdb!136
parents 9de77d57 d69db99d
...@@ -34,7 +34,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,nil,re,tp) return eg:IsExists(s.cfilter,1,nil,re,tp)
end end
function s.tgfilter(c) function s.tgfilter(c)
return c:IsRace(RACE_ILLUSION+RACE_SPELLCASTER+RACE_FIEND) and c:IsAbleToGrave() return c:IsRace(RACE_ILLUSION+RACE_SPELLCASTER) and c:IsAbleToGrave()
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK+LOCATION_HAND+LOCATION_EXTRA,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK+LOCATION_HAND+LOCATION_EXTRA,0,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