Commit 1b2e7fff authored by wind2009's avatar wind2009

Fix 葬世の神 デーヴァリーム

parent 7063822d
Pipeline #39099 passed with stages
in 12 minutes and 22 seconds
No preview for this file type
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
101302017 101302017
101302020 101302020
101302021 101302021
101302022
101302030 101302030
101302032 101302032
101302033 101302033
......
...@@ -46,10 +46,10 @@ function s.sprcon(e,c) ...@@ -46,10 +46,10 @@ function s.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.sprfilter,tp,LOCATION_GRAVE,0,3,nil) and Duel.IsExistingMatchingCard(s.sprfilter,tp,LOCATION_GRAVE,0,2,e:GetHandler())
end end
function s.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c) function s.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Duel.GetMatchingGroup(s.sprfilter,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(s.sprfilter,tp,LOCATION_GRAVE,0,e:GetHandler())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:CancelableSelect(tp,2,2,nil) local sg=g:CancelableSelect(tp,2,2,nil)
if sg then if sg then
...@@ -83,4 +83,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,4 +83,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.atkcon(e,tp,eg,ep,ev,re,r,rp) function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsBattlePhase() return Duel.IsBattlePhase()
end end
\ No newline at end of file
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