Commit b4750481 authored by GuGu's avatar GuGu

Update c86379088.lua

parent 9c4ba32e
Pipeline #42256 passed with stage
in 6 seconds
...@@ -157,10 +157,10 @@ function c86379088.dfilter2(c,tp) ...@@ -157,10 +157,10 @@ function c86379088.dfilter2(c,tp)
return c:IsSetCard(0x606) and c:IsType(TYPE_XYZ) and c:IsFaceup() and c:CheckRemoveOverlayCard(tp,1,REASON_COST) return c:IsSetCard(0x606) and c:IsType(TYPE_XYZ) and c:IsFaceup() and c:CheckRemoveOverlayCard(tp,1,REASON_COST)
end end
function c86379088.dcost(e,tp,eg,ep,ev,re,r,rp,chk) function c86379088.dcost(e,tp,eg,ep,ev,re,r,rp,chk)
local dg=Group.CreateGroup()
if chk==0 then if chk==0 then
local g=Duel.GetMatchingGroup(c86379088.dfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,nil,tp) local g=Duel.GetMatchingGroup(c86379088.dfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,nil,tp)
if g:GetCount()<=0 then return false end if g:GetCount()<=0 then return false end
local dg=Group.CreateGroup()
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local og=tc:GetOverlayGroup() local og=tc:GetOverlayGroup()
......
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