Commit 8bdbb844 authored by salix5's avatar salix5

fix 閃刀姫

X属性以外/non-X
The Attribute contains non-X
parent e84d99cb
...@@ -30,7 +30,7 @@ function c12421694.initial_effect(c) ...@@ -30,7 +30,7 @@ function c12421694.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c12421694.matfilter(c) function c12421694.matfilter(c)
return c:IsLinkSetCard(0x1115) and not c:IsLinkAttribute(ATTRIBUTE_EARTH) return c:IsLinkSetCard(0x1115) and c:IsLinkAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c12421694.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c12421694.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFaceup() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFaceup() end
......
...@@ -24,7 +24,7 @@ function c63288573.initial_effect(c) ...@@ -24,7 +24,7 @@ function c63288573.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c63288573.matfilter(c) function c63288573.matfilter(c)
return c:IsLinkSetCard(0x1115) and not c:IsLinkAttribute(ATTRIBUTE_FIRE) return c:IsLinkSetCard(0x1115) and c:IsLinkAttribute(ATTRIBUTE_ALL-ATTRIBUTE_FIRE)
end end
function c63288573.atkval(e) function c63288573.atkval(e)
return Duel.GetMatchingGroupCount(Card.IsType,e:GetHandlerPlayer(),LOCATION_GRAVE,0,nil,TYPE_SPELL)*100 return Duel.GetMatchingGroupCount(Card.IsType,e:GetHandlerPlayer(),LOCATION_GRAVE,0,nil,TYPE_SPELL)*100
......
...@@ -19,7 +19,7 @@ function c8491308.initial_effect(c) ...@@ -19,7 +19,7 @@ function c8491308.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c8491308.matfilter(c) function c8491308.matfilter(c)
return c:IsLinkSetCard(0x1115) and not c:IsLinkAttribute(ATTRIBUTE_WIND) return c:IsLinkSetCard(0x1115) and c:IsLinkAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND)
end end
function c8491308.tgfilter(c) function c8491308.tgfilter(c)
return c:IsSetCard(0x115) and c:IsAbleToGrave() return c:IsSetCard(0x115) and c:IsAbleToGrave()
......
...@@ -35,7 +35,7 @@ function c90673288.initial_effect(c) ...@@ -35,7 +35,7 @@ function c90673288.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c90673288.matfilter(c) function c90673288.matfilter(c)
return c:IsLinkSetCard(0x1115) and not c:IsLinkAttribute(ATTRIBUTE_WATER) return c:IsLinkSetCard(0x1115) and c:IsLinkAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WATER)
end end
function c90673288.atkval(e) function c90673288.atkval(e)
return Duel.GetMatchingGroupCount(Card.IsType,e:GetHandlerPlayer(),LOCATION_GRAVE,0,nil,TYPE_SPELL)*-100 return Duel.GetMatchingGroupCount(Card.IsType,e:GetHandlerPlayer(),LOCATION_GRAVE,0,nil,TYPE_SPELL)*-100
......
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