Commit c3e55a07 authored by TanakaKotoha's avatar TanakaKotoha

nanodesu

parent 1ef4400d
...@@ -17,7 +17,7 @@ function c26807058.counterfilter(c) ...@@ -17,7 +17,7 @@ function c26807058.counterfilter(c)
return c:IsSummonType(SUMMON_TYPE_RITUAL) return c:IsSummonType(SUMMON_TYPE_RITUAL)
end end
function c26807058.costfilter(c) function c26807058.costfilter(c)
return bit.band(c:GetType(),0x81)==0x81 and (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsAbleToGraveAsCost() return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsAbleToGraveAsCost()
end end
function c26807058.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c26807058.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c26807058.costfilter,tp,LOCATION_EXTRA+LOCATION_HAND+LOCATION_MZONE,0,1,nil) and Duel.GetCustomActivityCount(26807058,tp,ACTIVITY_SPSUMMON)==0 end if chk==0 then return Duel.IsExistingMatchingCard(c26807058.costfilter,tp,LOCATION_EXTRA+LOCATION_HAND+LOCATION_MZONE,0,1,nil) and Duel.GetCustomActivityCount(26807058,tp,ACTIVITY_SPSUMMON)==0 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