Commit 1a6deb0d authored by tsubaki's avatar tsubaki

fix tenhou

parent 5e353e86
Pipeline #32890 passed with stage
in 10 seconds
No preview for this file type
No preview for this file type
...@@ -7,7 +7,7 @@ function s.initial_effect(c) ...@@ -7,7 +7,7 @@ function s.initial_effect(c)
-- ①:自己基本分比对方高的场合 -- ①:自己基本分比对方高的场合
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ATTACK_ANNOUNCE) e1:SetCode(EFFECT_CANNOT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE)
...@@ -20,7 +20,7 @@ function s.initial_effect(c) ...@@ -20,7 +20,7 @@ function s.initial_effect(c)
-- ②:自己基本分比对方低的场合 -- ②:自己基本分比对方低的场合
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_ATTACK_ANNOUNCE) e3:SetCode(EFFECT_CANNOT_ATTACK_ANNOUNCE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(0,LOCATION_MZONE) e3:SetTargetRange(0,LOCATION_MZONE)
...@@ -53,7 +53,7 @@ end ...@@ -53,7 +53,7 @@ end
-- ①:自己基本分比对方高的场合 -- ①:自己基本分比对方高的场合
function s.highlpcon(e,tp,eg,ep,ev,re,r,rp) function s.highlpcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)>Duel.GetLP(1-tp) return Duel.GetLP(e:GetHandlerPlayer())>Duel.GetLP(1-e:GetHandlerPlayer())
end end
function s.columntg1(e,c) function s.columntg1(e,c)
return c:GetColumnGroup():IsContains(e:GetHandler())==false return c:GetColumnGroup():IsContains(e:GetHandler())==false
...@@ -61,7 +61,7 @@ end ...@@ -61,7 +61,7 @@ end
-- ②:自己基本分比对方低的场合 -- ②:自己基本分比对方低的场合
function s.lowlpcon(e,tp,eg,ep,ev,re,r,rp) function s.lowlpcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)<Duel.GetLP(1-tp) return Duel.GetLP(e:GetHandlerPlayer())<Duel.GetLP(1-e:GetHandlerPlayer())
end end
function s.columntg2(e,c) function s.columntg2(e,c)
return c:GetColumnGroup():IsContains(e:GetHandler()) return c:GetColumnGroup():IsContains(e:GetHandler())
......
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