Commit 8eb953f7 authored by Chen Bill's avatar Chen Bill

fix: REASON_TEMPORARY remove

parent e23cbd10
--PSYフレームロード・Ζ
local s,id,o=GetID()
function c37192109.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
......@@ -52,7 +53,11 @@ function c37192109.rmop(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup()
local oc=og:GetFirst()
while oc do
oc:RegisterFlagEffect(37192109,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,0,rct,fid)
if oc==c and oc:GetOriginalCode()~=id then
og:RemoveCard(oc)
else
oc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,0,rct,fid)
end
oc=og:GetNext()
end
og:KeepAlive()
......
--PSYフレームロード・Ω
local s,id,o=GetID()
function c74586817.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
......@@ -60,7 +61,11 @@ function c74586817.rmop(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup()
local oc=og:GetFirst()
while oc do
oc:RegisterFlagEffect(74586817,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,0,1,fid)
if oc==c and oc:GetOriginalCode()~=id then
og:RemoveCard(oc)
else
oc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,0,1,fid)
end
oc=og:GetNext()
end
og:KeepAlive()
......
......@@ -58,8 +58,12 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local g=Group.FromCards(tc,c)
if Duel.Remove(g,0,REASON_EFFECT+REASON_TEMPORARY)~=0 and g:IsExists(Card.IsLocation,1,nil,LOCATION_REMOVED) then
local og=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_REMOVED)
for tc in aux.Next(og) do
tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
for oc in aux.Next(og) do
if oc==c and oc:GetOriginalCode()~=id then
og:RemoveCard(oc)
else
oc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end
end
og:KeepAlive()
local e1=Effect.CreateEffect(c)
......
--刻剣の魔術師
local s,id,o=GetID()
function c80335817.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
......@@ -72,7 +73,11 @@ function c80335817.rmop(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup()
local oc=og:GetFirst()
while oc do
oc:RegisterFlagEffect(80335817,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,0,1)
if oc==c and oc:GetOriginalCode()~=id then
og:RemoveCard(oc)
else
oc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,0,1)
end
oc=og:GetNext()
end
og: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