Commit 4b8da25f authored by POLYMER's avatar POLYMER

fix

parent 8fb637f2
--闪耀的集合 多彩的天空 S--闪耀的集合 多彩的天空
function c28318424.initial_effect(c) function c28318424.initial_effect(c)
--activate --activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -38,7 +38,7 @@ function c28318424.lkfilter(c,mg) ...@@ -38,7 +38,7 @@ function c28318424.lkfilter(c,mg)
end end
function c28318424.target(e,tp,eg,ep,ev,re,r,rp,chk) function c28318424.target(e,tp,eg,ep,ev,re,r,rp,chk)
local mg=Duel.GetMatchingGroup(c28318424.matfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,nil) local mg=Duel.GetMatchingGroup(c28318424.matfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,nil)
local g=Duel.GetMatchingGroup(Card.IsCanBeFusionMaterial,tp,LOCATION_MZONE+LOCATION_HAND,0,nil) local g=Duel.GetMatchingGroup(Card.IsCanBeFusionMaterial,tp,LOCATION_MZONE+LOCATION_HAND,0,nil):Filter(Card.IsType,nil,TYPE_MONSTER)
local b1=Duel.IsExistingMatchingCard(c28318424.fsfilter,tp,LOCATION_EXTRA,0,1,nil,g,e,tp) local b1=Duel.IsExistingMatchingCard(c28318424.fsfilter,tp,LOCATION_EXTRA,0,1,nil,g,e,tp)
and g:GetCount()>1 and g:GetCount()>1
local b2=Duel.IsExistingMatchingCard(c28318424.syfilter,tp,LOCATION_EXTRA,0,1,nil,mg) local b2=Duel.IsExistingMatchingCard(c28318424.syfilter,tp,LOCATION_EXTRA,0,1,nil,mg)
......
...@@ -72,7 +72,7 @@ end ...@@ -72,7 +72,7 @@ end
function c71401019.op2(e,tp,eg,ep,ev,re,r,rp) function c71401019.op2(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,71401019)~=0 then return end if Duel.GetFlagEffect(tp,71401019)~=0 then return end
local code=e:GetLabel() local code=e:GetLabel()
local g=Duel.GetMatchingGroup(c71401019.filter2,tp,LOCATION_HAND+LOCATION_MZONE,0,1,1,nil,code) local g=Duel.GetMatchingGroup(c71401019.filter2,tp,LOCATION_HAND+LOCATION_MZONE,0,nil,code)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(71401019,1)) then if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(71401019,1)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
local tc=g:Select(tp,1,1,nil):GetFirst() local tc=g:Select(tp,1,1,nil):GetFirst()
......
...@@ -97,7 +97,7 @@ function c9911451.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,7 +97,7 @@ function c9911451.thop(e,tp,eg,ep,ev,re,r,rp)
if #g==0 then return end if #g==0 then return end
local tc1=g:GetMinGroup(Card.GetSequence):GetFirst() local tc1=g:GetMinGroup(Card.GetSequence):GetFirst()
local tc2=Duel.GetFieldCard(tp,LOCATION_GRAVE,0) local tc2=Duel.GetFieldCard(tp,LOCATION_GRAVE,0)
if tc1 and tc2 then if tc1 and tc2 and aux.NecroValleyFilter()(tc2) then
local sg=Group.FromCards(tc1,tc2) local sg=Group.FromCards(tc1,tc2)
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
if Duel.SendtoHand(sg,tp,REASON_EFFECT)>0 then if Duel.SendtoHand(sg,tp,REASON_EFFECT)>0 then
......
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