Commit fd6a91ec authored by DailyShana's avatar DailyShana

update

for Fluorohydride/ygopro-core@f87e668
parent 08eccd45
...@@ -37,7 +37,7 @@ function c33541430.drcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -37,7 +37,7 @@ function c33541430.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetCode(EFFECT_SKIP_DP) e1:SetCode(EFFECT_SKIP_DP)
e1:SetReset(RESET_PHASE+PHASE_DRAW+RESET_SELF_TURN) e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,2)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c33541430.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c33541430.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -30,7 +30,11 @@ function c37313786.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +30,11 @@ function c37313786.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetCode(EFFECT_SKIP_TURN) e1:SetCode(EFFECT_SKIP_TURN)
e1:SetReset(RESET_PHASE+PHASE_DRAW+RESET_SELF_TURN) 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)
end
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
end end
...@@ -49,7 +49,11 @@ function c47295267.retop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,11 @@ function c47295267.retop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCountLimit(1) e2:SetCountLimit(1)
e2:SetCondition(c47295267.descon) e2:SetCondition(c47295267.descon)
e2:SetOperation(c47295267.desop) e2:SetOperation(c47295267.desop)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN) if Duel.GetTurnPlayer()==tp then
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,2)
else
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,1)
end
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
end end
end end
......
...@@ -57,7 +57,11 @@ function c51670553.skipop(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,7 +57,11 @@ function c51670553.skipop(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(0,1) e1:SetTargetRange(0,1)
e1:SetCode(EFFECT_SKIP_DP) e1:SetCode(EFFECT_SKIP_DP)
e1:SetReset(RESET_PHASE+PHASE_DRAW+RESET_OPPO_TURN) if Duel.GetTurnPlayer()==tp then
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,1)
else
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
end
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c51670553.descon(e,tp,eg,ep,ev,re,r,rp) function c51670553.descon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -40,7 +40,7 @@ function c53828396.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c53828396.eqop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCondition(c53828396.descon) e2:SetCondition(c53828396.descon)
e2:SetTarget(c53828396.destg) e2:SetTarget(c53828396.destg)
e2:SetOperation(c53828396.desop) e2:SetOperation(c53828396.desop)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c53828396.eqlimit(e,c) function c53828396.eqlimit(e,c)
......
...@@ -23,7 +23,11 @@ function c8483333.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -23,7 +23,11 @@ function c8483333.regop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCondition(c8483333.spcon) e1:SetCondition(c8483333.spcon)
e1:SetTarget(c8483333.sptg) e1:SetTarget(c8483333.sptg)
e1:SetOperation(c8483333.spop) e1:SetOperation(c8483333.spop)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN) if Duel.GetTurnPlayer()==tp then
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,2)
else
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,1)
end
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c8483333.spcon(e,tp,eg,ep,ev,re,r,rp) function c8483333.spcon(e,tp,eg,ep,ev,re,r,rp)
......
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