Commit 0dd1462e authored by POLYMER's avatar POLYMER

fix

parent 0b058c62
......@@ -70,7 +70,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
end
function s.spcos2t(e,tp,eg,ep,ev,re,r,rp,chk)
function s.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
......
......@@ -39,7 +39,7 @@ function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
function s.filter(c)
return aux.IsCodeListed(c,25000028) and not c:IsCode(13650422) and c:IsType(TYPE_MONSTER) and (c:IsAbleToHand() or c:IsAbleToGrave())
return aux.IsCodeListed(c,25000028) and not c:IsCode(id) and c:IsType(TYPE_MONSTER) and (c:IsAbleToHand() or c:IsAbleToGrave())
end
function s.thfilter(c,tp)
return c:IsAbleToHand() and c:IsHasEffect(25000027,tp)
......
......@@ -11,7 +11,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
function cm.cpfilter(c)
return c:GetType()==TYPE_TRAP and c:IsAbleToGraveAsCost()
return c:GetType()==TYPE_TRAP and c:IsAbleToGraveAsCost() and c:IsSetCard(0x17e)
and c:CheckActivateEffect(true,true,false)~=nil
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -53,6 +53,7 @@ function c9911551.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g=g:Filter(c9911551.cfilter,nil,e)
return g:CheckSubGroup(c9911551.fselect,2,2,tp)
end
g=g:Filter(c9911551.cfilter,nil,e)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g1=g:SelectSubGroup(tp,c9911551.fselect,false,2,2,tp)
Duel.SetTargetCard(g1)
......@@ -66,6 +67,7 @@ function c9911551.thtg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g=g:Filter(c9911551.cfilter,nil,e)
return g:CheckSubGroup(c9911551.fselect,2,2,tp)
end
g=g:Filter(c9911551.cfilter,nil,e)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g1=g:SelectSubGroup(tp,c9911551.fselect,false,2,2,tp)
Duel.SetTargetCard(g1)
......
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