Commit dd7a4c55 authored by wind2009's avatar wind2009

Update メンタルプロシージャー

parent be09eadb
......@@ -46,7 +46,7 @@ function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.PayLPCost(tp,2000)
end
function s.thfilter(c)
return c:IsSetCard(0x2cc) and (c:IsType(TYPE_QUICKPLAY) or c:GetType()==TYPE_SPELL) and c:IsAbleToHand()
return c:IsSetCard(0x2cc) and (c:IsAllTypes(TYPE_QUICKPLAY+TYPE_SPELL) or c:GetType()==TYPE_SPELL) and c:IsAbleToHand()
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK+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