Commit 5c166584 authored by salix5's avatar salix5

fix 炎属性以外

parent 13596551
......@@ -18,7 +18,7 @@ function c74010769.initial_effect(c)
c:RegisterEffect(e2)
end
function c74010769.cfilter(c)
return (c:IsFacedown() or not c:IsAttribute(ATTRIBUTE_FIRE)) and c:IsType(TYPE_MONSTER)
return (c:IsFacedown() or c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_FIRE)) and c:IsType(TYPE_MONSTER)
end
function c74010769.spcon(e,c)
if c==nil then return true end
......
......@@ -58,7 +58,7 @@ function c87327776.spop(e,tp,eg,ep,ev,re,r,rp)
end
function c87327776.actlimit(e,re,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and not rc:IsAttribute(ATTRIBUTE_FIRE)
return re:IsActiveType(TYPE_MONSTER) and rc:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_FIRE)
end
function c87327776.thcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -96,7 +96,7 @@ function c96746083.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_EFFECT)
end
function c96746083.thfilter(c)
return c:GetAttribute()~=ATTRIBUTE_FIRE and c:IsRace(RACE_WYRM) and c:IsAbleToHand()
return c:IsAttribute(ATTRIBUTE_ALL-ATTRIBUTE_FIRE) and c:IsRace(RACE_WYRM) and c:IsAbleToHand()
end
function c96746083.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c96746083.thfilter,tp,LOCATION_GRAVE,0,1,nil) end
......
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