Commit 862a57a1 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c31710030.lua

parent c143a03e
Pipeline #31006 passed with stages
in 42 minutes and 44 seconds
......@@ -42,6 +42,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
local tc = e:GetHandler()
if g:GetCount()>0 then
Duel.SendtoGrave(g,REASON_EFFECT)
if not e:GetHandler():IsRelateToEffect(e) then return end
if Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then
local e1=Effect.CreateEffect(tc)
e1:SetCode(EFFECT_CHANGE_TYPE)
......@@ -50,6 +51,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetValue(TYPE_TRAP+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
--Duel.MajesticCopy(tc,g:GetFirst())
local cid=tc:CopyEffect(g:GetFirst():GetCode(),RESET_PHASE+PHASE_END,1)
Duel.AddCustomActivityCounter(id,ACTIVITY_CHAIN,s.chainfilter)
......
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