Commit bdf9699c authored by Clara Grace Paulsen's avatar Clara Grace Paulsen Committed by GitHub

fix 死神の巡遊 & 幸運の前借り (#2024)

parent 590e2c98
......@@ -35,8 +35,9 @@ function c62784717.coinop(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SUMMON)
if res==0 then
e1:SetReset(RESET_PHASE+PHASE_END,2)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN)
e1:SetTargetRange(1,0)
e1:SetCondition(c62784717.limcon)
else
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(0,1)
......@@ -46,3 +47,6 @@ function c62784717.coinop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_CANNOT_FLIP_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function c62784717.limcon(e)
return Duel.GetTurnPlayer()==e:GetHandlerPlayer()
end
......@@ -44,10 +44,10 @@ function c67955331.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(c67955331.splimit)
if Duel.GetTurnPlayer()==tp then
e1:SetLabel(Duel.GetTurnCount())
e1:SetCondition(c67955331.splimcon)
e1:SetTarget(c67955331.splimit)
if Duel.GetTurnPlayer()==tp then
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,2)
else
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,1)
......@@ -58,7 +58,7 @@ function c67955331.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e2,tp)
end
function c67955331.splimcon(e)
return Duel.GetTurnCount()~=e:GetLabel()
return Duel.GetTurnCount()~=e:GetLabel() and Duel.GetTurnPlayer()==e:GetHandlerPlayer()
end
function c67955331.splimit(e,c)
return not c:IsRace(RACE_SPELLCASTER)
......
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