Commit d402a959 authored by 聖園ミカ's avatar 聖園ミカ 🐟

54188

parent 3a4795d2
Pipeline #30930 failed with stages
in 20 minutes and 8 seconds
......@@ -92,6 +92,7 @@ function s.op1(e,tp,eg,ep,ev,re,r,rp)
e5:SetCode(EVENT_PHASE+PHASE_END)
e5:SetRange(LOCATION_MZONE)
e5:SetCountLimit(1)
e5:SetCondition(s.dmcon)
e5:SetTarget(s.dmtg)
e5:SetOperation(s.dmop)
e5:SetReset(RESET_EVENT+RESETS_STANDARD)
......@@ -100,6 +101,9 @@ function s.op1(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.dmcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function s.dmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(1-tp)
......
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