Commit 30179ac6 authored by Chen Bill's avatar Chen Bill

fix エクシーズ・ブロック

parent c9e708d0
......@@ -14,7 +14,7 @@ end
function c44487250.condition(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev)
end
function c44487250.only_filter(c,onlyc)
function c44487250.only_filter(c,onlyc,tp)
local require_count=c==onlyc and 2 or 1
return c:CheckRemoveOverlayCard(tp,require_count,REASON_COST)
end
......@@ -31,7 +31,7 @@ function c44487250.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
if #available_fromhand_effects==1 and available_fromhand_effects[1]:GetValue()==85551711 then
return Duel.IsExistingMatchingCard(c44487250.only_filter,tp,LOCATION_MZONE,0,1,nil,available_fromhand_effects[1]:GetHandler())
return Duel.IsExistingMatchingCard(c44487250.only_filter,tp,LOCATION_MZONE,0,1,nil,available_fromhand_effects[1]:GetHandler(),tp)
else
return Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST)
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