Commit 4c00188e authored by Amiya's avatar Amiya

修复

parent 9723b5f5
Pipeline #31788 passed with stages
in 1 minute and 29 seconds
...@@ -123,7 +123,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -123,7 +123,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
function Auxiliary.XyzLevelFreeOperationAlter(f,gf,minc,maxc,alterf,alterdesc,alterop) function Auxiliary.XyzLevelFreeOperationAlter(f,gf,minc,maxc,alterf,alterdesc,alterop)
return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max) return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
if og and not min then if og and not min then
if og:GetCount()<=maxc and mg:GetCount()>=minc and maxc==minc+2 then if og:GetCount()<maxc and mg:GetCount()>=minc and maxc==minc+2 then
local et=maxc-og:GetCount() local et=maxc-og:GetCount()
local exg=og:Filter(Card.IsHasEffect,nil,81096431,tp) local exg=og:Filter(Card.IsHasEffect,nil,81096431,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
...@@ -154,7 +154,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -154,7 +154,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(c,og) Duel.Overlay(c,og)
else else
local mg=e:GetLabelObject() local mg=e:GetLabelObject()
if mg:GetCount()<=maxc and mg:GetCount()>=minc and maxc==minc+2 then if mg:GetCount()<maxc and mg:GetCount()>=minc and maxc==minc+2 then
local et=maxc-mg:GetCount() local et=maxc-mg:GetCount()
local exg=mg:Filter(Card.IsHasEffect,nil,81096431,tp) local exg=mg:Filter(Card.IsHasEffect,nil,81096431,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
...@@ -201,7 +201,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -201,7 +201,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
function Auxiliary.XyzLevelFreeOperation(f,gf,minct,maxct) function Auxiliary.XyzLevelFreeOperation(f,gf,minct,maxct)
return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max) return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
if og and not min then if og and not min then
if og:GetCount()<=maxct and og:GetCount()>=minct and maxct==minct+2 then if og:GetCount()<maxct and og:GetCount()>=minct and maxct==minct+2 then
local et=maxct-og:GetCount() local et=maxct-og:GetCount()
local exg=og:Filter(Card.IsHasEffect,nil,81096431,tp) local exg=og:Filter(Card.IsHasEffect,nil,81096431,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
...@@ -232,7 +232,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -232,7 +232,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(c,og) Duel.Overlay(c,og)
else else
local mg=e:GetLabelObject() local mg=e:GetLabelObject()
if mg:GetCount()<=maxct and mg:GetCount()>=minct and maxct==minct+2 then if mg:GetCount()<maxct and mg:GetCount()>=minct and maxct==minct+2 then
local et=maxct-mg:GetCount() local et=maxct-mg:GetCount()
local exg=mg:Filter(Card.IsHasEffect,nil,81096431,tp) local exg=mg:Filter(Card.IsHasEffect,nil,81096431,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
......
...@@ -91,7 +91,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,7 +91,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
function Auxiliary.XyzLevelFreeOperationAlter(f,gf,minc,maxc,alterf,alterdesc,alterop) function Auxiliary.XyzLevelFreeOperationAlter(f,gf,minc,maxc,alterf,alterdesc,alterop)
return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max) return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
if og and not min then if og and not min then
if og:GetCount()<=maxc and mg:GetCount()>=minc and maxc==minc+2 then if og:GetCount()<maxc and mg:GetCount()>=minc and maxc==minc+2 then
local et=maxc-og:GetCount() local et=maxc-og:GetCount()
local exg=og:Filter(Card.IsHasEffect,nil,id,tp) local exg=og:Filter(Card.IsHasEffect,nil,id,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
...@@ -122,7 +122,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -122,7 +122,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(c,og) Duel.Overlay(c,og)
else else
local mg=e:GetLabelObject() local mg=e:GetLabelObject()
if mg:GetCount()<=maxc and mg:GetCount()>=minc and maxc==minc+2 then if mg:GetCount()<maxc and mg:GetCount()>=minc and maxc==minc+2 then
local et=maxc-mg:GetCount() local et=maxc-mg:GetCount()
local exg=mg:Filter(Card.IsHasEffect,nil,id,tp) local exg=mg:Filter(Card.IsHasEffect,nil,id,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
...@@ -169,7 +169,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -169,7 +169,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
function Auxiliary.XyzLevelFreeOperation(f,gf,minct,maxct) function Auxiliary.XyzLevelFreeOperation(f,gf,minct,maxct)
return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max) return function(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
if og and not min then if og and not min then
if mg:GetCount()<=maxct and mg:GetCount()>=minct and maxct==minct+2 then if mg:GetCount()<maxct and mg:GetCount()>=minct and maxct==minct+2 then
local et=maxct-mg:GetCount() local et=maxct-mg:GetCount()
local exg=mg:Filter(Card.IsHasEffect,nil,id,tp) local exg=mg:Filter(Card.IsHasEffect,nil,id,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,tp)
...@@ -200,7 +200,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -200,7 +200,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(c,og) Duel.Overlay(c,og)
else else
local mg=e:GetLabelObject() local mg=e:GetLabelObject()
if mg:GetCount()<=maxct and mg:GetCount()>=minct and maxct==minct+2 then if mg:GetCount()<maxct and mg:GetCount()>=minct and maxct==minct+2 then
local et=maxct-mg:GetCount() local et=maxct-mg:GetCount()
local exg=mg:Filter(Card.IsHasEffect,nil,id,tp) local exg=mg:Filter(Card.IsHasEffect,nil,id,tp)
local ext=exg:GetClassCount(s.eftfilter,tp) local ext=exg:GetClassCount(s.eftfilter,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