Commit f5116d62 authored by Tachibana's avatar Tachibana

eme

parent 7fcf3115
...@@ -82,7 +82,7 @@ function cm.tgfilter(c,tp,eg) ...@@ -82,7 +82,7 @@ function cm.tgfilter(c,tp,eg)
return eg:IsContains(c) and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil,sc1,sc2) return eg:IsContains(c) and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil,sc1,sc2)
end end
function cm.thfilter(c,sc1,sc2) function cm.thfilter(c,sc1,sc2)
return c:IsSetCard(0x9cc3) and c:IsAbleToHand() and c:GetLeftScale()==sc1 and c:GetRightScale()==sc2 return c:IsSetCard(0x9cc3) and c:IsAbleToHand() and c:GetLeftScale()==sc1 and c:GetRightScale()==sc2 and c:IsType(TYPE_PENDULUM)
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.tgfilter(chkc,tp,eg) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.tgfilter(chkc,tp,eg) 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