Commit bb8da383 authored by wind2009's avatar wind2009

Fix typo

parent d9641282
...@@ -135,7 +135,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -135,7 +135,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 og: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)
......
...@@ -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 og: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)
...@@ -181,9 +181,9 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp) ...@@ -181,9 +181,9 @@ 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 og:GetCount()<maxct and og:GetCount()>=minct and maxct==minct+2 then
local et=maxct-mg:GetCount() local et=maxct-og:GetCount()
local exg=mg: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)
if et==0 or 2-et==ext then if et==0 or 2-et==ext then
for ttc in aux.Next(exg) do for ttc in aux.Next(exg) do
......
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