Commit be9074a1 authored by wyykak's avatar wyykak

Merge branch 'bugfix211226' into 'master'

修复999011的44行,tp→c:GetControler()

See merge request !1
parents ca8f36bb 8f5eb7ab
Pipeline #8281 passed with stage
in 29 seconds
...@@ -41,7 +41,7 @@ end ...@@ -41,7 +41,7 @@ end
function M.spcon(e,c) function M.spcon(e,c)
if c == nil then return true end if c == nil then return true end
return Duel.GetLocationCount(c:GetControler(), LOCATION_MZONE) > 0 return Duel.GetLocationCount(c:GetControler(), LOCATION_MZONE) > 0
and Duel.IsExistingMatchingCard(M.spfilter, tp, LOCATION_GRAVE, 0, 1, nil) and Duel.IsExistingMatchingCard(M.spfilter, c:GetControler(), LOCATION_GRAVE, 0, 1, nil)
end end
function M.spfilter(c) function M.spfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xaa6) return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xaa6)
......
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