Commit 904dad57 authored by mercury233's avatar mercury233

fix

parent 01a054e5
......@@ -51,7 +51,7 @@ function c100343041.rmop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:Select(tp,1,1,nil)
Duel.Remove(sg,POS_FACEUP,REASON_COST)
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
end
e:GetHandler():RegisterFlagEffect(100343041,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,2)
end
......
......@@ -53,7 +53,7 @@ function c100426005.cpcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
end
function c100426005.cpfilter(c)
return c:GetType()==TYPE_SPELL and c:IsSetCard(0x277) and c:IsAbleToGraveAsCost()
return c:GetType()==TYPE_SPELL and (c:IsSetCard(0x277) or c:IsCode(57734012)) and c:IsAbleToGraveAsCost()
and c:CheckActivateEffect(true,true,false)~=nil
end
function c100426005.cptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -25,8 +25,8 @@ function c100426006.initial_effect(c)
c:RegisterEffect(e2)
end
function c100426006.filter(c)
return (not c:IsCode(100426006) and c:IsSetCard(0x277) and c:IsType(TYPE_SPELL+TYPE_TRAP))
or (c:IsSetCard(0x278) and c:IsType(TYPE_SPELL+TYPE_TRAP))
return (not c:IsCode(100426006) and (c:IsSetCard(0x277) or c:IsCode(57734012)) and c:IsType(TYPE_SPELL+TYPE_TRAP))
or ((c:IsSetCard(0x278) or c:IsCode(47660516,92365601)) and c:IsType(TYPE_SPELL+TYPE_TRAP))
or (c:IsSetCard(0x95) and c:IsType(TYPE_QUICKPLAY))
end
function c100426006.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -41,7 +41,7 @@ end
c100426017[0]=0
c100426017[1]=0
function c100426017.thfilter(c)
return (c:IsCode(22702055) or c:IsSetCard(0x275,0x276) and c:IsType(TYPE_SPELL+TYPE_TRAP)) and c:IsAbleToHand()
return (c:IsCode(22702055) or c:IsSetCard(0x275,0x276) and c:IsType(TYPE_SPELL+TYPE_TRAP) or c:IsCode(82685480,98804359,19089195)) and c:IsAbleToHand()
end
function c100426017.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c100426017.thfilter,tp,LOCATION_DECK,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