Commit 811e3472 authored by Clara Grace Paulsen's avatar Clara Grace Paulsen

fix "Void Intercept"

Activated without checking Galaxy Type monster Attributes on its user's field
parent df99b824
Pipeline #17807 passed with stage
in 2 minutes and 45 seconds
...@@ -21,10 +21,10 @@ function cm.confilter1(c,tp) ...@@ -21,10 +21,10 @@ function cm.confilter1(c,tp)
return c:GetSummonPlayer()==tp and c:IsFaceup() return c:GetSummonPlayer()==tp and c:IsFaceup()
end end
function cm.confilter2(c) function cm.confilter2(c)
return c:IsFaceup() and c:IsRace(RACE_GALAXY) return c:IsFaceup() and c:IsRace(RACE_GALAXY) and c:IsAttribute(ATTRIBUTE_DARK)
end end
function cm.confilter3(c) function cm.confilter3(c)
return c:IsFaceup() and not c:IsRace(RACE_GALAXY) return c:IsFaceup() and not (c:IsRace(RACE_GALAXY) and c:IsAttribute(ATTRIBUTE_DARK))
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.confilter1,1,nil,1-tp) return eg:IsExists(cm.confilter1,1,nil,1-tp)
......
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