Commit 8928a620 authored by Tachibana's avatar Tachibana

eme

parent d06c48da
Pipeline #6379 passed with stages
in 37 minutes and 36 seconds
No preview for this file type
...@@ -8,6 +8,7 @@ function c85401700.initial_effect(c) ...@@ -8,6 +8,7 @@ function c85401700.initial_effect(c)
e1:SetTarget(c85401700.tg) e1:SetTarget(c85401700.tg)
e1:SetOperation(c85401700.op) e1:SetOperation(c85401700.op)
c:RegisterEffect(e1) c:RegisterEffect(e1)
------回手效果
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EFFECT_DESTROY_REPLACE) e2:SetCode(EFFECT_DESTROY_REPLACE)
...@@ -36,7 +37,7 @@ end ...@@ -36,7 +37,7 @@ end
function c85401700.op(e,tp,eg,ep,ev,re,r,rp) function c85401700.op(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) then return end if not tc:IsRelateToEffect(e) then return end
tc:RegisterFlagEffect(85401700,RESET_EVENT,0,0) tc:RegisterFlagEffect(85401700,RESET_EVENT,EFFECT_FLAG_CLIENT_HINT,0,0,aux.Stringid(85401700,1))
Duel.SendtoHand(tc,tp,REASON_EFFECT) Duel.SendtoHand(tc,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
end end
......
...@@ -143,7 +143,7 @@ function c85402100.costbz(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -143,7 +143,7 @@ function c85402100.costbz(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function c85402100.opbz(e,tp,eg,ep,ev,re,r,rp) function c85402100.opbz(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(85402101,RESET_EVENT+RESET_PHASE+PHASE_END,0,1) e:GetHandler():RegisterFlagEffect(85402101,RESET_EVENT+RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(85402100,0))
local b=Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE) local b=Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)
if b>0 then if b>0 then
for i=1,b,1 do for i=1,b,1 do
......
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