Commit eab08df5 authored by mercury233's avatar mercury233

fix

parent 8c2c7cad
...@@ -18,7 +18,7 @@ function c13048472.filter2(c,mc) ...@@ -18,7 +18,7 @@ function c13048472.filter2(c,mc)
return bit.band(c:GetType(),0x81)==0x81 and c:IsAbleToHand() and c13048472.isfit(c,mc) return bit.band(c:GetType(),0x81)==0x81 and c:IsAbleToHand() and c13048472.isfit(c,mc)
end end
function c13048472.isfit(c,mc) function c13048472.isfit(c,mc)
return mc.fit_monster and c:IsCode(table.unpack(mc.fit_monster)) return (mc.fit_monster and c:IsCode(table.unpack(mc.fit_monster))) or aux.IsCodeListed(mc,c:GetCode())
end end
function c13048472.target(e,tp,eg,ep,ev,re,r,rp,chk) function c13048472.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c13048472.filter,tp,LOCATION_DECK,0,1,nil,tp) end if chk==0 then return Duel.IsExistingMatchingCard(c13048472.filter,tp,LOCATION_DECK,0,1,nil,tp) end
......
...@@ -18,7 +18,7 @@ function c94666032.initial_effect(c) ...@@ -18,7 +18,7 @@ function c94666032.initial_effect(c)
e2:SetOperation(c94666032.repop) e2:SetOperation(c94666032.repop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c94666032.fit_monster={4388680} c94666032.card_code_list={4388680}
function c94666032.filter(c,e,tp,m1,m2,ft) function c94666032.filter(c,e,tp,m1,m2,ft)
if not c:IsSetCard(0x106) or bit.band(c:GetType(),0x81)~=0x81 if not c:IsSetCard(0x106) or bit.band(c:GetType(),0x81)~=0x81
or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false 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