Commit 288e4929 authored by mercury233's avatar mercury233

fix

parent c4917c96
...@@ -93,7 +93,7 @@ function c100416033.rfilter(c,tp) ...@@ -93,7 +93,7 @@ function c100416033.rfilter(c,tp)
return c:IsLevelAbove(7) and (c:IsControler(tp) or c:IsFaceup()) return c:IsLevelAbove(7) and (c:IsControler(tp) or c:IsFaceup())
end end
function c100416033.excostfilter(c,tp) function c100416033.excostfilter(c,tp)
return c:IsAbleToRemove() and c:IsHasEffect(100416038,tp) return c:IsAbleToRemove() and (c:IsHasEffect(100416036,tp) or c:IsHasEffect(100416038,tp))
end end
function c100416033.costfilter(c,e,tp) function c100416033.costfilter(c,e,tp)
local check=Duel.GetMZoneCount(tp,c)>0 local check=Duel.GetMZoneCount(tp,c)>0
...@@ -111,7 +111,7 @@ function c100416033.thcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -111,7 +111,7 @@ function c100416033.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
tc=g1:FilterSelect(tp,c100416033.costfilter,1,1,nil,e,tp):GetFirst() tc=g1:FilterSelect(tp,c100416033.costfilter,1,1,nil,e,tp):GetFirst()
if tc:IsLocation(LOCATION_GRAVE) then if tc:IsLocation(LOCATION_GRAVE) then
local te=tc:IsHasEffect(100416038,tp) local te=tc:IsHasEffect(100416036,tp) or tc:IsHasEffect(100416038,tp)
if te then if te then
te:UseCountLimit(tp) te:UseCountLimit(tp)
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT+REASON_REPLACE) Duel.Remove(tc,POS_FACEUP,REASON_EFFECT+REASON_REPLACE)
......
...@@ -99,7 +99,7 @@ function c100416035.costfilter(c,tp) ...@@ -99,7 +99,7 @@ function c100416035.costfilter(c,tp)
if c:IsLocation(LOCATION_HAND+LOCATION_MZONE) then if c:IsLocation(LOCATION_HAND+LOCATION_MZONE) then
return c:IsType(TYPE_MONSTER) and c:IsReleasable() return c:IsType(TYPE_MONSTER) and c:IsReleasable()
else else
return c:IsAbleToRemove() and c:IsHasEffect(100416038,tp) return c:IsAbleToRemove() and (c:IsHasEffect(100416036,tp) or c:IsHasEffect(100416038,tp))
end end
end end
function c100416035.negcost(e,tp,eg,ep,ev,re,r,rp,chk) function c100416035.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -107,7 +107,7 @@ function c100416035.negcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -107,7 +107,7 @@ function c100416035.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,c100416035.costfilter,tp,LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE,0,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,c100416035.costfilter,tp,LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE,0,1,1,nil,tp)
local tc=g:GetFirst() local tc=g:GetFirst()
local te=tc:IsHasEffect(100416038,tp) local te=tc:IsHasEffect(100416036,tp) or tc:IsHasEffect(100416038,tp)
if te then if te then
te:UseCountLimit(tp) te:UseCountLimit(tp)
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT+REASON_REPLACE) Duel.Remove(tc,POS_FACEUP,REASON_EFFECT+REASON_REPLACE)
......
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