Commit 67685c01 authored by mallu11's avatar mallu11 Committed by mercury233

fix reset in end phase (#1315)

* fix 閃刀姫-ジーク

* fix アーティファクト-ダグザ
parent f4838890
......@@ -54,7 +54,7 @@ function c7480763.stop(e,tp,eg,ep,ev,re,r,rp)
e1:SetLabelObject(tc)
e1:SetCondition(c7480763.descon)
e1:SetOperation(c7480763.desop)
if Duel.GetTurnPlayer()==1-tp then
if Duel.GetTurnPlayer()==1-tp and Duel.GetCurrentPhase()==PHASE_END then
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
e1:SetValue(Duel.GetTurnCount())
tc:RegisterFlagEffect(7480763,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN,0,2)
......
......@@ -66,7 +66,7 @@ function c75147529.rmop(e,tp,eg,ep,ev,re,r,rp)
else
reset=RESET_SELF_TURN
end
if Duel.GetTurnPlayer()==1-tp then
if Duel.GetTurnPlayer()==1-tp and Duel.GetCurrentPhase()==PHASE_END then
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
e1:SetValue(Duel.GetTurnCount())
tc:RegisterFlagEffect(75147529,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+reset,0,2)
......
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