Commit c463aeb7 authored by 花桃白音's avatar 花桃白音

fix 42s func name

parent 5ecf2a29
...@@ -38,7 +38,7 @@ function c4270002.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -38,7 +38,7 @@ function c4270002.target(e,tp,eg,ep,ev,re,r,rp,chk)
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) end and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c4270002.thfilter1(c) function c4270002.thfilter(c)
return c:IsCode(4270008) and c:IsFaceup() return c:IsCode(4270008) and c:IsFaceup()
end end
function c4270002.operation(e,tp,eg,ep,ev,re,r,rp) function c4270002.operation(e,tp,eg,ep,ev,re,r,rp)
...@@ -47,7 +47,7 @@ function c4270002.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,7 @@ function c4270002.operation(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0
and tc:IsRelateToEffect(re) and and tc:IsRelateToEffect(re) and
Duel.IsExistingMatchingCard(c4270002.filter,tp,LOCATION_REMOVED,0,1,nil) then Duel.IsExistingMatchingCard(c4270002.thfilter,tp,LOCATION_REMOVED,0,1,nil) then
if tc:IsLocation(LOCATION_DECK+LOCATION_EXTRA) or (tc:IsFacedown() and not tc:IsLocation(LOCATION_HAND)) then return end if tc:IsLocation(LOCATION_DECK+LOCATION_EXTRA) or (tc:IsFacedown() and not tc:IsLocation(LOCATION_HAND)) then return end
Duel.Remove(eg,POS_FACEUP,REASON_EFFECT) Duel.Remove(eg,POS_FACEUP,REASON_EFFECT)
end 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