Commit 9fb768bf authored by POLYMER's avatar POLYMER

fix

parent 6b54177c
...@@ -26,7 +26,7 @@ end ...@@ -26,7 +26,7 @@ end
function c22051050.costfilter(c) function c22051050.costfilter(c)
return c:IsCode(22050001) and c:IsReleasable() return c:IsCode(22050001) and c:IsReleasable()
end end
function c22051050.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function c22051050.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c22051050.costfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp) end if chk==0 then return Duel.IsExistingMatchingCard(c22051050.costfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,c22051050.costfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,c22051050.costfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,tp)
......
...@@ -71,7 +71,7 @@ function c71401008.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,7 @@ function c71401008.op2(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(ctype+TYPE_CONTINUOUS) e1:SetValue(ctype+TYPE_CONTINUOUS)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
if c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.SelectYesNo(tp,aux.Stringid(71401008,4)) then and Duel.SelectYesNo(tp,aux.Stringid(71401008,2)) then
Duel.BreakEffect() Duel.BreakEffect()
if Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then if Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
......
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