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)
return c:GetSummonPlayer()==tp and c:IsFaceup()
end
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
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
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
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