Commit 5c166584 authored by salix5's avatar salix5

fix 炎属性以外

parent 13596551
...@@ -18,7 +18,7 @@ function c74010769.initial_effect(c) ...@@ -18,7 +18,7 @@ function c74010769.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c74010769.cfilter(c) 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 end
function c74010769.spcon(e,c) function c74010769.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -58,7 +58,7 @@ function c87327776.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function c87327776.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function c87327776.actlimit(e,re,rp) function c87327776.actlimit(e,re,rp)
local rc=re:GetHandler() 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 end
function c87327776.thcon(e,tp,eg,ep,ev,re,r,rp) function c87327776.thcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -96,7 +96,7 @@ function c96746083.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,7 +96,7 @@ function c96746083.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_EFFECT) return e:GetHandler():IsReason(REASON_EFFECT)
end end
function c96746083.thfilter(c) 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 end
function c96746083.thtg(e,tp,eg,ep,ev,re,r,rp,chk) 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 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