Commit df560f43 authored by Tachibana's avatar Tachibana

1145141919810

parent c18173ba
Pipeline #13597 passed with stages
in 34 minutes and 30 seconds
No preview for this file type
......@@ -38,6 +38,7 @@ function c72413150.initial_effect(c)
end
--
function c72413150.regcon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetOwner()
return ep==tp and bit.band(r,REASON_BATTLE)~=0
end
function c72413150.regop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -34,14 +34,15 @@ function c72413160.initial_effect(c)
end
end
--
function c72413160.defilter(c,tp)
function c72413160.defilter(c,e)
local tp=e:GetHandler():GetOwner()
return c:IsReason(REASON_BATTLE) and c:IsLocation(LOCATION_GRAVE) and c:GetPreviousControler()==tp
end
function c72413160.regcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c72413160.defilter,1,nil,tp)
return eg:IsExists(c72413160.defilter,1,nil,e)
end
function c72413160.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local c=e:GetHandler()
Duel.RegisterFlagEffect(c:GetControler(),72413161,RESET_PHASE+PHASE_END,0,1)
end
--
......
......@@ -44,6 +44,7 @@ function c72413170.regop(e,tp,eg,ep,ev,re,r,rp)
end
--
function c72413170.condition(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetOwner()
return tp~=Duel.GetTurnPlayer()
end
function c72413170.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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