Commit 8334051e authored by GuGu's avatar GuGu

Update c74561066.lua

parent c98bd80e
Pipeline #33323 passed with stage
in 10 seconds
...@@ -80,7 +80,7 @@ function cCardno.baop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,7 +80,7 @@ function cCardno.baop(e,tp,eg,ep,ev,re,r,rp)
end end
--SPSUMMON_SUCCESS --SPSUMMON_SUCCESS
function cCardno.spfilter(c,tp,ec) function cCardno.spfilter(c,tp,ec)
return c:IsSetCard(0x201) and c:CheckUniqueOnField(tp) and c:CheckEquipTarget(ec) return c:IsSetCard(0x201) and c:IsType(TYPE_EQUIP) and c:CheckUniqueOnField(tp) and c:CheckEquipTarget(ec)
end end
function cCardno.spcon(e,tp,eg,ep,ev,re,r,rp) function cCardno.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO
...@@ -105,10 +105,11 @@ function cCardno.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -105,10 +105,11 @@ function cCardno.spop(e,tp,eg,ep,ev,re,r,rp)
local eg=Duel.SelectMatchingCard(tp,cCardno.spfilter,tp,LOCATION_GRAVE,0,1,can_equip,nil,tp,e:GetHandler()) local eg=Duel.SelectMatchingCard(tp,cCardno.spfilter,tp,LOCATION_GRAVE,0,1,can_equip,nil,tp,e:GetHandler())
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
Duel.Equip(tp,tc,c) Duel.Equip(tp,tc,c,true,true)
tc=eg:GetNext() tc=eg:GetNext()
end end
end end
Duel.EquipComplete()
end end
--synfilter --synfilter
function cCardno.synfilter(c) function cCardno.synfilter(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