Commit a9042d25 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12041001.lua

parent 714077c1
......@@ -78,7 +78,7 @@ function c12041001.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c12041001.tdop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if g:GetCount()>0 and Duel.SendtoHand(g,REASON_EFFECT)~=0 then
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 then
local gc=g:GetFirst()
while gc do
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -107,4 +107,4 @@ function c12041001.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
c:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(12041001,0))
c:RegisterFlagEffect(12041001,RESET_EVENT+RESETS_STANDARD,0,1)
end
\ No newline at end of file
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