Commit 73169b83 authored by GuGu's avatar GuGu

Update c86379652.lua

parent d799a5cc
Pipeline #40741 passed with stage
in 30 seconds
......@@ -96,7 +96,7 @@ function c86379652.op(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetTurnCount()
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if Duel.Remove(tc,POS_FACEUP,REASON_EFFECT+REASON_TEMPORARY)~=0 and not tc:IsType(TYPE_TOKEN) then
if Duel.Remove(tc,0,REASON_EFFECT+REASON_TEMPORARY)~=0 and not tc:IsType(TYPE_TOKEN) then
tc:RegisterFlagEffect(86379652,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,2,fid)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......@@ -223,7 +223,7 @@ function c86379652.desop(e,tp,eg,ep,ev,re,r,rp)
rg:AddCard(bc)
end
if rg:GetCount()>0 then
if Duel.Remove(rg,POS_FACEUP,REASON_EFFECT+REASON_TEMPORARY)~=0 then
if Duel.Remove(rg,0,REASON_EFFECT+REASON_TEMPORARY)~=0 then
rg:Remove(Card.IsType,nil,TYPE_TOKEN)
if rg:GetCount()>0 then
rg:KeepAlive()
......
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