Commit 148000bb authored by mercury233's avatar mercury233

fix

parent 967a2fe8
...@@ -69,7 +69,7 @@ function c42901635.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -69,7 +69,7 @@ function c42901635.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Remove(sg,POS_FACEUP,REASON_COST) Duel.Remove(sg,POS_FACEUP,REASON_COST)
end end
function c42901635.costfilter(c) function c42901635.costfilter(c)
return c:IsType(TYPE_MONSTER) and (c:IsSetCard(0x2066) or c:IsCode(99785935,39256679,11549357)) and c:IsLevelBelow(4) and c:IsAbleToRemoveAsCost() return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x2066) and c:IsLevelBelow(4) and c:IsAbleToRemoveAsCost()
end end
function c42901635.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c42901635.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c42901635.costfilter,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c42901635.costfilter,tp,LOCATION_GRAVE,0,1,nil) end
...@@ -96,7 +96,7 @@ function c42901635.spcon2(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,7 +96,7 @@ function c42901635.spcon2(e,tp,eg,ep,ev,re,r,rp)
or (rp==1-tp and c:IsReason(REASON_EFFECT) and c:GetPreviousControler()==tp) or (rp==1-tp and c:IsReason(REASON_EFFECT) and c:GetPreviousControler()==tp)
end end
function c42901635.spfilter(c,e,tp) function c42901635.spfilter(c,e,tp)
return c:IsFaceup() and c:IsCode(99785935,39256679,11549357) return c:IsFaceup() and c:IsCode(42023223,79418928,15502037)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and c:IsCanBeEffectTarget(e) and c:IsCanBeEffectTarget(e)
end end
...@@ -126,8 +126,8 @@ function c42901635.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -126,8 +126,8 @@ function c42901635.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
sg:Merge(g1) sg:Merge(g1)
g:Sub(g1) g:Sub(g1)
end end
Duel.SetTargetCard(g) Duel.SetTargetCard(sg)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,3,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,sg,3,0,0)
end end
function c42901635.spop2(e,tp,eg,ep,ev,re,r,rp) function c42901635.spop2(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
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