Commit 940fbe5c authored by Amiya's avatar Amiya

修复

parent bd0c9461
...@@ -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)
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()<=maxc and mg:GetCount()>=minc and maxc==minc+2 then if og:GetCount()<=maxc and mg:GetCount()>=minct and maxc==minc+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)
...@@ -231,7 +231,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -231,7 +231,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()>=minc 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)
......
...@@ -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()<=maxc and mg:GetCount()>=minc and maxc==minc+2 then if mg:GetCount()<=maxc and mg:GetCount()>=minct and maxc==minc+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()>=minc 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