Commit d5355d57 authored by GuGu's avatar GuGu

Update c86379540.lua

parent 6498c24b
Pipeline #33469 passed with stage
in 9 seconds
......@@ -41,15 +41,16 @@ function c86379540.sprfilter2(c,tp,sync)
return c:IsSetCard(0x3256) and c:IsCanBeSynchroMaterial(sync) and c:IsReleasable() and c:IsLevel(4) and not c:IsCode(86379540)
and Duel.GetLocationCountFromEx(tp,tp,c,sync)>0
end
function c86379540.sprcon2(e,c)
function c86379540.sprcon2(e,c,smat,mg)
if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c86379540.sprfilter2,tp,LOCATION_MZONE,0,1,nil,tp,c)
return Duel.IsExistingMatchingCard(c86379540.sprfilter2,tp,LOCATION_MZONE,0,1,nil,tp,c) and not smat and not mg
end
function c86379540.sprop2(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,c86379540.sprfilter2,tp,LOCATION_MZONE,0,1,1,nil,tp,c)
Duel.Release(g,REASON_COST+REASON_MATERIAL+REASON_SYNCHRO)
c:SetMaterial(g)
Duel.Release(g,REASON_MATERIAL+REASON_SYNCHRO)
end
--
function c86379540.confilter(c,sc)
......
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