Commit dc5fd715 authored by POLYMER's avatar POLYMER

fix

parent 271f86ff
......@@ -34,8 +34,9 @@ function c31021005.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c31021005.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) and c:IsRelateToEffect(e) then
local c=e:GetHandler()
if Duel.SpecialSummon(c,nil,tp,tp,false,false,POS_FACEUP) and c:IsCanAddCounter(0x1894,1) then
tc:AddCounter(0x1894,1)
......
......@@ -52,7 +52,7 @@ function c31021017.exfilter(c,tp)
return c:IsSummonLocation(LOCATION_EXTRA) and c:IsSummonPlayer(tp) and c:IsSetCard(0x893) and c:IsFaceup()
end
function c31021017.setcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c31021017.exfilter,1,nil,tp)
return eg:IsExists(c31021017.exfilter,1,nil,tp) and aux.exccon(e)
end
function c31021017.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsSSetable() end
......
......@@ -86,6 +86,7 @@ end
function c78307733.ecop(e,tp,eg,ep,ev,re,r,rp)
local op0=re:GetOperation() or (function() end)
local op1=function(e,tp,eg,ep,ev,re,r,rp)
op0(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local dg=Duel.SelectMatchingCard(tp,aux.TRUE,tp,0,LOCATION_MZONE,1,1,nil)
if #dg>0 then Duel.Destroy(dg,REASON_EFFECT) end
......
......@@ -67,7 +67,7 @@ function cm.fit2(c,e,tp)
return aux.IsCodeListed(c,35405755) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.fit21(c,e,tp)
return aux.IsCodeListed(c,35405755) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsAttackBelow(2500)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsAttackBelow(2500)
end
function cm.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.fit2,tp,LOCATION_DECK,0,1,nil,e,tp) 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