Commit c5cd6ef0 authored by mercury233's avatar mercury233

fix 六花来々

parent 4d83c5ce
...@@ -52,7 +52,8 @@ function c132308.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,7 +52,8 @@ function c132308.discon(e,tp,eg,ep,ev,re,r,rp)
and Duel.IsExistingMatchingCard(c132308.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c132308.filter,tp,LOCATION_MZONE,0,1,nil)
end end
function c132308.costfilter(c,tp) function c132308.costfilter(c,tp)
return (c:IsControler(tp) or c:IsFaceup()) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) return (c:IsControler(tp) or c:IsFaceup())
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end end
function c132308.discost(e,tp,eg,ep,ev,re,r,rp,chk) function c132308.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToDeckAsCost() and Duel.CheckReleaseGroup(tp,c132308.costfilter,1,nil,tp) end if chk==0 then return e:GetHandler():IsAbleToDeckAsCost() and Duel.CheckReleaseGroup(tp,c132308.costfilter,1,nil,tp) end
......
...@@ -49,7 +49,7 @@ function c32557233.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function c32557233.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c32557233.rfilter(c,tp) function c32557233.rfilter(c,tp)
return Duel.GetMZoneCount(tp,c)>1 and (c:IsControler(tp) or c:IsFaceup()) return Duel.GetMZoneCount(tp,c)>1 and (c:IsControler(tp) or c:IsFaceup())
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end end
function c32557233.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c32557233.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1) e:SetLabel(1)
......
...@@ -24,7 +24,7 @@ function c33491462.initial_effect(c) ...@@ -24,7 +24,7 @@ function c33491462.initial_effect(c)
end end
function c33491462.rfilter(c,tp) function c33491462.rfilter(c,tp)
return Duel.GetMZoneCount(tp,c)>1 and (c:IsControler(tp) or c:IsFaceup()) return Duel.GetMZoneCount(tp,c)>1 and (c:IsControler(tp) or c:IsFaceup())
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end end
function c33491462.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c33491462.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c33491462.rfilter,1,nil,tp) end if chk==0 then return Duel.CheckReleaseGroup(tp,c33491462.rfilter,1,nil,tp) end
......
...@@ -50,8 +50,8 @@ function c60880471.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,8 +50,8 @@ function c60880471.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
end end
function c60880471.spfilter(c,tp) function c60880471.spfilter(c,tp)
return (c:IsControler(tp) or c:IsFaceup()) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) return (c:IsControler(tp) or c:IsFaceup()) and Duel.GetMZoneCount(tp,c)>0
and Duel.GetMZoneCount(tp,c)>0 and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end end
function c60880471.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c60880471.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c60880471.spfilter,1,nil,tp) end if chk==0 then return Duel.CheckReleaseGroup(tp,c60880471.spfilter,1,nil,tp) end
......
...@@ -46,7 +46,7 @@ function c68941332.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c68941332.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c68941332.rfilter(c,tp) function c68941332.rfilter(c,tp)
return Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup()) return Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup())
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
and Duel.IsExistingTarget(c68941332.filter,tp,0,LOCATION_MZONE,1,c) and Duel.IsExistingTarget(c68941332.filter,tp,0,LOCATION_MZONE,1,c)
end end
function c68941332.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c68941332.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -44,7 +44,7 @@ function c69164989.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function c69164989.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c69164989.costfilter(c,tp) function c69164989.costfilter(c,tp)
return (c:IsControler(tp) or c:IsFaceup()) return (c:IsControler(tp) or c:IsFaceup())
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end end
function c69164989.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c69164989.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c69164989.costfilter,1,nil,tp) end if chk==0 then return Duel.CheckReleaseGroup(tp,c69164989.costfilter,1,nil,tp) end
......
...@@ -29,7 +29,7 @@ function c71002019.initial_effect(c) ...@@ -29,7 +29,7 @@ function c71002019.initial_effect(c)
end end
function c71002019.rfilter(c,tp) function c71002019.rfilter(c,tp)
return Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup()) return Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup())
and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711)) and (c:IsRace(RACE_PLANT) or c:IsHasEffect(76869711,tp) and c:IsControler(1-tp))
end end
function c71002019.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c71002019.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c71002019.rfilter,1,nil,tp) end if chk==0 then return Duel.CheckReleaseGroup(tp,c71002019.rfilter,1,nil,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