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) ...@@ -104,9 +104,9 @@ function cCardno.wdop(e,tp,eg,ep,ev,re,r,rp)
local obj=e1:GetLabelObject() local obj=e1:GetLabelObject()
if not obj then if not obj then
if not cCardno.myTable or not cCardno.myGroup then if not cCardno.myTable or not cCardno.myGroup then
cCardno.myTable = {} cCardno.myTable = {}
cCardno.myGroup = Group.CreateGroup() cCardno.myGroup = Group.CreateGroup()
local allCardGroup = Duel.GetFieldGroup(0,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED) local allCardGroup = Duel.GetFieldGroup(0,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
local seedCard = allCardGroup:GetFirst() local seedCard = allCardGroup:GetFirst()
local count = 1 local count = 1
while count <= 6 and seedCard do while count <= 6 and seedCard do
...@@ -118,8 +118,8 @@ function cCardno.wdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -118,8 +118,8 @@ function cCardno.wdop(e,tp,eg,ep,ev,re,r,rp)
end end
seedCard = allCardGroup:GetNext() seedCard = allCardGroup:GetNext()
end end
cCardno.myGroup:KeepAlive()
end end
cCardno.myGroup:KeepAlive()
obj=cCardno.myGroup:Clone() obj=cCardno.myGroup:Clone()
obj:KeepAlive() obj:KeepAlive()
end 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