Commit ea0b4ff2 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent e9d9e97f
No preview for this file type
......@@ -40,7 +40,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttacker():IsControler(1-tp)
end
function cm.thcfilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsRace(RACE_WINDBEAST) and c:IsAttribute(ATTRIBUTE_WIND) and c:IsFaceup() and c:IsAbleToGraveAsCost()
return c:IsType(TYPE_PENDULUM) and c:IsRace(RACE_WINDBEAST) and c:IsAttribute(ATTRIBUTE_WIND) and c:IsAbleToGraveAsCost()
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thcfilter,tp,LOCATION_EXTRA,0,1,nil) end
......
......@@ -104,7 +104,7 @@ function cm.penop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function cm.costfilter(c,tp)
function cm.costfilter(c)
return c:IsRace(RACE_WINDBEAST) and c:IsAttribute(ATTRIBUTE_WIND) and c:IsType(TYPE_PENDULUM) and c:IsAbleToGraveAsCost()
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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