Commit e7f5ef07 authored by salix5's avatar salix5

fix 地属性以外

parent 8bdbb844
...@@ -20,7 +20,7 @@ function c28290705.adcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -20,7 +20,7 @@ function c28290705.adcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function c28290705.filter(c) function c28290705.filter(c)
return c:IsFaceup() and c:GetAttribute()~=ATTRIBUTE_EARTH return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c28290705.adtg(e,tp,eg,ep,ev,re,r,rp,chk) function c28290705.adtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c28290705.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c28290705.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
......
...@@ -87,7 +87,7 @@ function c30539496.spcon2(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,7 +87,7 @@ function c30539496.spcon2(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_EFFECT) return e:GetHandler():IsReason(REASON_EFFECT)
end end
function c30539496.thfilter(c,e,tp) function c30539496.thfilter(c,e,tp)
return not c:IsAttribute(ATTRIBUTE_EARTH) and c:IsRace(RACE_WYRM) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH) and c:IsRace(RACE_WYRM) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c30539496.sptg2(e,tp,eg,ep,ev,re,r,rp,chk) function c30539496.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -74,7 +74,7 @@ function c36745317.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,7 +74,7 @@ function c36745317.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c36745317.aclimit(e,re,tp) function c36745317.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_EARTH) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c36745317.atkfilter(c) function c36745317.atkfilter(c)
return c:IsSetCard(0x182) and c:IsFaceup() return c:IsSetCard(0x182) and c:IsFaceup()
......
...@@ -74,7 +74,7 @@ function c62133026.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,7 +74,7 @@ function c62133026.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c62133026.aclimit(e,re,tp) function c62133026.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_EARTH) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c62133026.tgtg(e,c) function c62133026.tgtg(e,c)
return c:IsSetCard(0x182) and c:IsFaceup() return c:IsSetCard(0x182) and c:IsFaceup()
......
...@@ -70,7 +70,7 @@ function c62803464.srop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,7 +70,7 @@ function c62803464.srop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c62803464.aclimit(e,re,tp) function c62803464.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_EARTH) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c62803464.cfilter(c,tp) function c62803464.cfilter(c,tp)
return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
......
...@@ -73,7 +73,7 @@ function c81519836.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,7 @@ function c81519836.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c81519836.aclimit(e,re,tp) function c81519836.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_EARTH) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c81519836.atktg(e,c) function c81519836.atktg(e,c)
return not c:IsSetCard(0x182) return not c:IsSetCard(0x182)
......
...@@ -71,7 +71,7 @@ function c9238125.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,7 @@ function c9238125.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c9238125.aclimit(e,re,tp) function c9238125.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_EARTH) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c9238125.atkcon(e,tp,eg,ep,ev,re,r,rp) function c9238125.atkcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP() return Duel.IsAbleToEnterBP()
......
...@@ -73,7 +73,7 @@ function c9350312.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,7 @@ function c9350312.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c9350312.aclimit(e,re,tp) function c9350312.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_EARTH) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_EARTH)
end end
function c9350312.indtg(e,c) function c9350312.indtg(e,c)
return c:IsSetCard(0x182) and c:IsFaceup() return c:IsSetCard(0x182) and c:IsFaceup()
......
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