Commit 0fd2d3a0 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent cd96d634
......@@ -50,7 +50,7 @@ function c33400305.bacost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
end
function c33400355.bafilter1(c)
function c33400305.bafilter1(c)
return c:IsAttackable() and c:IsSetCard(0x5341) and c:IsFaceup()
end
function c33400305.batg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
......@@ -35,7 +35,7 @@ function c33400314.initial_effect(c)
c:RegisterEffect(e3)
end
function c33400314.spfilter(c,fc,tp)
return c:IsReleasable() and c:IsSetCard(0x5341) and Duel.GetLocationCountFromEx(tp,tp,c,fc)>0
return c:IsReleasableByEffect() and c:IsSetCard(0x5341) and Duel.GetLocationCountFromEx(tp,tp,c,fc)>0
end
function c33400314.sprcon(e,c)
if c==nil then return true end
......
......@@ -60,7 +60,7 @@ function c33400402.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
end
function c33400402.thfilter(c)
return (c:IsSetCard(0x341) or c:IsSetCard(0x5342)) and c:IsAbleToHand() and not c:IsCode(33400402)
return (c:IsSetCard(0x341) or c:IsSetCard(0x5342)) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and not c:IsCode(33400402)
end
function c33400402.thcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c33400402.thfilter,tp,LOCATION_GRAVE,0,1,nil)
......
......@@ -45,7 +45,7 @@ function c33400404.spop(e,tp,eg,ep,ev,re,r,rp)
end
function c33400404.spfilter(c,e,tp)
return c:IsSetCard(0x5342) or c:IsSetCard(0xc342) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return (c:IsSetCard(0x5342) or c:IsSetCard(0xc342)) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c33400404.sumtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c33400404.spfilter(chkc,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