Commit 913e83a4 authored by a597449807's avatar a597449807 Committed by GitHub

Fix アーティファクト & ゴーティスの紅玉ゼップ (#2998)

parent aa7f9a7e
...@@ -28,6 +28,7 @@ end ...@@ -28,6 +28,7 @@ end
function c11475049.spcon(e,tp,eg,ep,ev,re,r,rp) function c11475049.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c11475049.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c11475049.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -31,6 +31,7 @@ end ...@@ -31,6 +31,7 @@ end
function c12697630.spcon(e,tp,eg,ep,ev,re,r,rp) function c12697630.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c12697630.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c12697630.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -28,6 +28,7 @@ end ...@@ -28,6 +28,7 @@ end
function c20292186.spcon(e,tp,eg,ep,ev,re,r,rp) function c20292186.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c20292186.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c20292186.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -31,6 +31,7 @@ end ...@@ -31,6 +31,7 @@ end
function c34267821.spcon(e,tp,eg,ep,ev,re,r,rp) function c34267821.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c34267821.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c34267821.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -31,6 +31,7 @@ end ...@@ -31,6 +31,7 @@ end
function c47863787.spcon(e,tp,eg,ep,ev,re,r,rp) function c47863787.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c47863787.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c47863787.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -30,6 +30,7 @@ end ...@@ -30,6 +30,7 @@ end
function c48086335.spcon(e,tp,eg,ep,ev,re,r,rp) function c48086335.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c48086335.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c48086335.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -39,6 +39,7 @@ end ...@@ -39,6 +39,7 @@ end
function c69304426.spcon(e,tp,eg,ep,ev,re,r,rp) function c69304426.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c69304426.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c69304426.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -54,7 +54,8 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,7 +54,8 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.spcon(e,tp,eg,ep,ev,re,r,rp) function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==1-tp local c=e:GetHandler()
return Duel.GetTurnPlayer()==1-tp and c:IsPreviousControler(tp)
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -32,6 +32,7 @@ end ...@@ -32,6 +32,7 @@ end
function c80237445.spcon1(e,tp,eg,ep,ev,re,r,rp) function c80237445.spcon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c80237445.sptg1(e,tp,eg,ep,ev,re,r,rp,chk) function c80237445.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -32,6 +32,7 @@ end ...@@ -32,6 +32,7 @@ end
function c84268896.spcon(e,tp,eg,ep,ev,re,r,rp) function c84268896.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c84268896.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c84268896.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -28,6 +28,7 @@ end ...@@ -28,6 +28,7 @@ end
function c85080444.spcon(e,tp,eg,ep,ev,re,r,rp) function c85080444.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c85080444.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c85080444.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -31,6 +31,7 @@ end ...@@ -31,6 +31,7 @@ end
function c85103922.spcon(e,tp,eg,ep,ev,re,r,rp) function c85103922.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c85103922.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c85103922.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -32,6 +32,7 @@ end ...@@ -32,6 +32,7 @@ end
function c8873112.spcon(e,tp,eg,ep,ev,re,r,rp) function c8873112.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN) return c:IsPreviousLocation(LOCATION_SZONE) and c:IsPreviousPosition(POS_FACEDOWN)
and c:IsPreviousControler(tp)
and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp and c:IsReason(REASON_DESTROY) and Duel.GetTurnPlayer()~=tp
end end
function c8873112.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c8873112.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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