Commit 3187be7e authored by 想象力很好的毛虫's avatar 想象力很好的毛虫 Committed by GitHub

fix c29114773.lua (#2161)

parent eb58eb23
...@@ -16,7 +16,9 @@ function c29114773.costfilter(c) ...@@ -16,7 +16,9 @@ function c29114773.costfilter(c)
end end
function c29114773.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c29114773.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c29114773.costfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(c29114773.costfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.DiscardHand(tp,c29114773.costfilter,1,1,REASON_COST) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c29114773.costfilter,tp,LOCATION_HAND,0,1,1,e:GetHandler(),tp)
Duel.SendtoGrave(g,REASON_COST)
end end
function c29114773.filter(c) function c29114773.filter(c)
return c:IsSetCard(0x2016) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x2016) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
......
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