Commit 54eacd14 authored by wyykak's avatar wyykak

74561044 test2

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 986f8baf
Pipeline #29254 passed with stage
in 10 seconds
......@@ -104,9 +104,9 @@ function cCardno.wdop(e,tp,eg,ep,ev,re,r,rp)
local obj=e1:GetLabelObject()
if not obj then
if not cCardno.myTable or not cCardno.myGroup then
cCardno.myTable = {}
cCardno.myGroup = Group.CreateGroup()
local allCardGroup = Duel.GetFieldGroup(0,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
cCardno.myTable = {}
cCardno.myGroup = Group.CreateGroup()
local allCardGroup = Duel.GetFieldGroup(0,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
local seedCard = allCardGroup:GetFirst()
local count = 1
while count <= 6 and seedCard do
......@@ -118,8 +118,8 @@ function cCardno.wdop(e,tp,eg,ep,ev,re,r,rp)
end
seedCard = allCardGroup:GetNext()
end
cCardno.myGroup:KeepAlive()
end
cCardno.myGroup:KeepAlive()
obj=cCardno.myGroup:Clone()
obj:KeepAlive()
end
......
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