Commit a23e79e0 authored by VanillaSalt's avatar VanillaSalt

Merge pull request #925 from sidschingis/patch2

fix self destruct condition
parents e239e686 d7fa264a
......@@ -33,7 +33,7 @@ function c20758643.initial_effect(c)
c:RegisterEffect(e3)
end
function c20758643.sdfilter(c)
return c:IsFaceup() and not c:IsSetCard(0xb1)
return not c:IsFaceup() or not c:IsSetCard(0xb1)
end
function c20758643.sdcon(e)
return Duel.IsExistingMatchingCard(c20758643.sdfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
......
......@@ -33,7 +33,7 @@ function c57143342.initial_effect(c)
c:RegisterEffect(e3)
end
function c57143342.sdfilter(c)
return c:IsFaceup() and not c:IsSetCard(0xb1)
return not c:IsFaceup() or not c:IsSetCard(0xb1)
end
function c57143342.sdcon(e)
return Duel.IsExistingMatchingCard(c57143342.sdfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
......
......@@ -27,7 +27,7 @@ function c84764038.initial_effect(c)
c:RegisterEffect(e3)
end
function c84764038.sdfilter(c)
return c:IsFaceup() and not c:IsSetCard(0xb1)
return not c:IsFaceup() or not c:IsSetCard(0xb1)
end
function c84764038.sdcon(e)
return Duel.IsExistingMatchingCard(c84764038.sdfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
......
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