Commit 5acfe9ea authored by wind2009's avatar wind2009 Committed by GitHub

Fix DDD聖賢王アルフレッド (#3075)

parent a7370469
...@@ -100,7 +100,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,7 +100,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.tffilter(c,tp) function s.tffilter(c,tp)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSetCard(0xae) and not c:IsForbidden() and c:CheckUniqueOnField(tp) return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSetCard(0xae) and c:IsFaceupEx() and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end end
function s.mfilter(c) function s.mfilter(c)
return c:IsFaceup() and c:IsSetCard(0x10af) return c:IsFaceup() and c:IsSetCard(0x10af)
...@@ -120,7 +120,8 @@ function s.tftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -120,7 +120,8 @@ function s.tftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function s.tfop(e,tp,eg,ep,ev,re,r,rp) function s.tfop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetTargetsRelateToChain() local g=Duel.GetTargetsRelateToChain()
local ct=math.min(g:GetCount(),Duel.GetLocationCount(tp,LOCATION_SZONE)) local sct=Duel.GetLocationCount(tp,LOCATION_SZONE)
local ct=math.min(g:GetCount(),sct)
local pg=g local pg=g
if ct<=0 then if ct<=0 then
pg=Group.CreateGroup() pg=Group.CreateGroup()
......
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