Commit 604fb5a4 authored by mercury233's avatar mercury233

fix Krawler

parent 15f8ab90
...@@ -41,7 +41,7 @@ function c10698416.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,7 +41,7 @@ function c10698416.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c10698416.spcon(e,tp,eg,ep,ev,re,r,rp) function c10698416.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp
end end
function c10698416.filter1(c,e,tp) function c10698416.filter1(c,e,tp)
......
...@@ -38,7 +38,7 @@ function c15710054.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,7 @@ function c15710054.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c15710054.spcon(e,tp,eg,ep,ev,re,r,rp) function c15710054.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp
end end
function c15710054.filter1(c,e,tp) function c15710054.filter1(c,e,tp)
......
...@@ -38,7 +38,7 @@ function c39998992.initial_effect(c) ...@@ -38,7 +38,7 @@ function c39998992.initial_effect(c)
end end
function c39998992.spcon(e,tp,eg,ep,ev,re,r,rp) function c39998992.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return (c:IsReason(REASON_BATTLE) or (c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT))) return (c:IsReason(REASON_BATTLE) or (c:GetReasonPlayer()==1-tp and c:IsPreviousControler(tp) and c:IsReason(REASON_EFFECT)))
and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousPosition(POS_FACEUP)
end end
function c39998992.spfilter1(c,e,tp) function c39998992.spfilter1(c,e,tp)
......
...@@ -39,7 +39,7 @@ function c46083111.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,7 @@ function c46083111.tgop(e,tp,eg,ep,ev,re,r,rp)
end end
function c46083111.spcon(e,tp,eg,ep,ev,re,r,rp) function c46083111.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp
end end
function c46083111.filter1(c,e,tp) function c46083111.filter1(c,e,tp)
......
...@@ -43,7 +43,7 @@ function c51205763.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function c51205763.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c51205763.spcon(e,tp,eg,ep,ev,re,r,rp) function c51205763.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp
end end
function c51205763.filter1(c,e,tp) function c51205763.filter1(c,e,tp)
......
...@@ -43,7 +43,7 @@ function c66393507.initial_effect(c) ...@@ -43,7 +43,7 @@ function c66393507.initial_effect(c)
end end
function c66393507.spcon(e,tp,eg,ep,ev,re,r,rp) function c66393507.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return (c:IsReason(REASON_BATTLE) or (c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT))) return (c:IsReason(REASON_BATTLE) or (c:GetReasonPlayer()==1-tp and c:IsPreviousControler(tp) and c:IsReason(REASON_EFFECT)))
and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousPosition(POS_FACEUP)
end end
function c66393507.spfilter1(c,e,tp) function c66393507.spfilter1(c,e,tp)
......
...@@ -40,7 +40,7 @@ function c83293307.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c83293307.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c83293307.spcon(e,tp,eg,ep,ev,re,r,rp) function c83293307.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp
end end
function c83293307.filter1(c,e,tp) function c83293307.filter1(c,e,tp)
......
...@@ -38,7 +38,7 @@ function c88316955.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,7 @@ function c88316955.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c88316955.spcon(e,tp,eg,ep,ev,re,r,rp) function c88316955.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp
end end
function c88316955.filter1(c,e,tp) function c88316955.filter1(c,e,tp)
......
...@@ -50,7 +50,7 @@ function c92781606.initial_effect(c) ...@@ -50,7 +50,7 @@ function c92781606.initial_effect(c)
end end
function c92781606.spcon(e,tp,eg,ep,ev,re,r,rp) function c92781606.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return (c:IsReason(REASON_BATTLE) or (c:GetReasonPlayer()==1-tp and c:IsReason(REASON_EFFECT))) return (c:IsReason(REASON_BATTLE) or (c:GetReasonPlayer()==1-tp and c:IsPreviousControler(tp) and c:IsReason(REASON_EFFECT)))
and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousPosition(POS_FACEUP)
end end
function c92781606.spfilter1(c,e,tp) function c92781606.spfilter1(c,e,tp)
......
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