Commit cae8a3a3 authored by GuGu's avatar GuGu

Update c74561099.lua

parent 3cdace73
Pipeline #42712 passed with stage
in 5 seconds
......@@ -236,7 +236,7 @@ function cCardno.XyzTarget(f,lv,minct,maxct,alterf,alterdesc,alterop)
local altg=nil
local mg=nil
if og then
og=Group.FromCards(og)
if type(og)~="Group" then return false end
mg=og
else
mg=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
......@@ -285,7 +285,6 @@ end
function cCardno.XyzOperation(f,lv,minct,maxct,alterf,alterdesc,alterop)
return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
if og and not min then
og=Group.FromCards(og)
aux.Xyz2XMaterialOperation(tp,og,c,minct,maxct)
local sg=Group.CreateGroup()
local tc=og:GetFirst()
......
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