Commit 8327dfa6 authored by salix5's avatar salix5

fix 風属性以外

parent 5c166584
...@@ -45,7 +45,7 @@ function c39853199.initial_effect(c) ...@@ -45,7 +45,7 @@ function c39853199.initial_effect(c)
end end
function c39853199.destg1(e,tp,eg,ep,ev,re,r,rp,chk) function c39853199.destg1(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=e:GetHandler():GetBattleTarget() local tc=e:GetHandler():GetBattleTarget()
if chk==0 then return tc and tc:IsFaceup() and tc:GetAttribute()~=ATTRIBUTE_WIND end if chk==0 then return tc and tc:IsFaceup() and tc:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0)
end end
function c39853199.desop1(e,tp,eg,ep,ev,re,r,rp) function c39853199.desop1(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -23,7 +23,7 @@ function c70117860.cfilter1(c) ...@@ -23,7 +23,7 @@ function c70117860.cfilter1(c)
return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_WIND) return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_WIND)
end end
function c70117860.cfilter2(c) function c70117860.cfilter2(c)
return c:IsFacedown() or not c:IsAttribute(ATTRIBUTE_WIND) return c:IsFacedown() or c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND)
end end
function c70117860.spcon(e,tp,eg,ep,ev,re,r,rp) function c70117860.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c70117860.cfilter1,tp,LOCATION_MZONE,0,2,nil) return Duel.IsExistingMatchingCard(c70117860.cfilter1,tp,LOCATION_MZONE,0,2,nil)
......
...@@ -33,7 +33,7 @@ function c71340250.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -33,7 +33,7 @@ function c71340250.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(sg,REASON_COST) Duel.Release(sg,REASON_COST)
end end
function c71340250.filter(c,e,tp) function c71340250.filter(c,e,tp)
return c:IsSetCard(0x16) and not c:IsAttribute(ATTRIBUTE_WIND) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x16) and c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c71340250.target(e,tp,eg,ep,ev,re,r,rp,chk) function c71340250.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c71340250.filter,tp,LOCATION_DECK,0,1,nil,e,tp) end if chk==0 then return Duel.IsExistingMatchingCard(c71340250.filter,tp,LOCATION_DECK,0,1,nil,e,tp) end
......
...@@ -60,7 +60,7 @@ function c86395581.srop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c86395581.srop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c86395581.aclimit(e,re,tp) function c86395581.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_WIND) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND)
end end
function c86395581.cfilter(c,tp) function c86395581.cfilter(c,tp)
return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
......
...@@ -23,7 +23,7 @@ function c9069157.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -23,7 +23,7 @@ function c9069157.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD) Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end end
function c9069157.thfilter(c) function c9069157.thfilter(c)
return not c:IsAttribute(ATTRIBUTE_WIND) and c:IsSetCard(0x16) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND) and c:IsSetCard(0x16) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c9069157.target(e,tp,eg,ep,ev,re,r,rp,chk) function c9069157.target(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(c9069157.thfilter,tp,LOCATION_DECK,0,1,nil) local b1=Duel.IsExistingMatchingCard(c9069157.thfilter,tp,LOCATION_DECK,0,1,nil)
......
...@@ -94,7 +94,7 @@ function c94160895.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -94,7 +94,7 @@ function c94160895.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_EFFECT) return e:GetHandler():IsReason(REASON_EFFECT)
end end
function c94160895.thfilter(c) function c94160895.thfilter(c)
return c:GetAttribute()~=ATTRIBUTE_WIND and c:IsRace(RACE_WYRM) and c:IsAbleToHand() return c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND) and c:IsRace(RACE_WYRM) and c:IsAbleToHand()
end end
function c94160895.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c94160895.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c94160895.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c94160895.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -49,7 +49,7 @@ function c96945958.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function c96945958.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c96945958.aclimit(e,re,tp) function c96945958.aclimit(e,re,tp)
return re:IsActiveType(TYPE_MONSTER) and not re:GetHandler():IsAttribute(ATTRIBUTE_WIND) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_WIND)
end end
function c96945958.costfilter(c) function c96945958.costfilter(c)
return c:IsSetCard(0x2016) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x2016) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
......
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