Commit f38635b3 authored by GuGu's avatar GuGu

Update c86379458.lua 选择题优化

parent 08b007db
Pipeline #29128 passed with stage
in 9 seconds
......@@ -54,10 +54,17 @@ function c86379458.initial_effect(c)
c:RegisterEffect(e4)
end
--
function c86379458.spfilter(c,ec,e,tp)
local seq=ec:GetSequence()
return c:GetOriginalCode()==86379458 and c:GetSequence()>seq
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false)
and not (c:IsDisabled() or c:IsForbidden())
end
function c86379458.spcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
local c=e:GetHandler()
return (ep==tp or Duel.IsPlayerAffectedByEffect(tp,86379453)) and re:IsActiveType(TYPE_SPELL)
local b1=Duel.IsExistingMatchingCard(c86379458.spfilter,tp,LOCATION_EXTRA,0,1,nil,c,e,tp)
return (ep==tp or Duel.IsPlayerAffectedByEffect(tp,86379453)) and re:IsActiveType(TYPE_SPELL) and b1
end
function c86379458.cfilter(c,tp,rc,tc)
local sg=Group.CreateGroup()
......
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