Commit 27c62858 authored by Huangnan's avatar Huangnan

物语纪录fix.v2

parent 8215d5e5
......@@ -124,7 +124,7 @@ function c1009029.th1filter(c,p)
end
function c1009029.remtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local g=Duel.GetFieldGroup(tp,0,0x1c)
local g=Duel.GetFieldGroup(tp,0,0x18)
local dc=g:FilterCount(c1009029.th1filter,nil,1-tp)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,g:GetCount(),0,0)
end
......@@ -133,8 +133,8 @@ function c1009029.sgfilter(c,p)
end
function c1009029.remop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,0,0x1c)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
local g=Duel.GetFieldGroup(tp,0,0x18)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
local og=Duel.GetOperatedGroup()
local ct=og:FilterCount(c1009029.sgfilter,nil,1-tp)
if ct>0 then
......
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