Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vee4
ygopro-scripts-888
Commits
aaa5251c
Commit
aaa5251c
authored
May 01, 2022
by
Chrono-Genex
Committed by
GitHub
May 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace Auxiliary to aux (#1876)
parent
eb883f32
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
21 deletions
+21
-21
c13386407.lua
c13386407.lua
+5
-5
c18890039.lua
c18890039.lua
+1
-1
c32785578.lua
c32785578.lua
+1
-1
c35705817.lua
c35705817.lua
+12
-12
c5380979.lua
c5380979.lua
+1
-1
c82128978.lua
c82128978.lua
+1
-1
No files found.
c13386407.lua
View file @
aaa5251c
...
@@ -26,13 +26,13 @@ function c13386407.RitualUltimateFilter(c,filter,e,tp,m1,m2,level_function,great
...
@@ -26,13 +26,13 @@ function c13386407.RitualUltimateFilter(c,filter,e,tp,m1,m2,level_function,great
mg
:
RemoveCard
(
c
)
mg
:
RemoveCard
(
c
)
end
end
local
lv
=
level_function
(
c
)
local
lv
=
level_function
(
c
)
Auxiliary
.
GCheckAdditional
=
Auxiliary
.
RitualCheckAdditional
(
c
,
lv
,
greater_or_equal
)
aux
.
GCheckAdditional
=
aux
.
RitualCheckAdditional
(
c
,
lv
,
greater_or_equal
)
local
res
=
mg
:
CheckSubGroup
(
c13386407
.
rcheck
,
1
,
lv
,
tp
,
c
,
lv
,
greater_or_equal
,
mc
)
local
res
=
mg
:
CheckSubGroup
(
c13386407
.
rcheck
,
1
,
lv
,
tp
,
c
,
lv
,
greater_or_equal
,
mc
)
Auxiliary
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
return
res
return
res
end
end
function
c13386407
.
rcheck
(
g
,
tp
,
c
,
lv
,
greater_or_equal
,
mc
)
function
c13386407
.
rcheck
(
g
,
tp
,
c
,
lv
,
greater_or_equal
,
mc
)
return
Auxiliary
.
RitualCheck
(
g
,
tp
,
c
,
lv
,
greater_or_equal
)
and
g
:
IsContains
(
mc
)
return
aux
.
RitualCheck
(
g
,
tp
,
c
,
lv
,
greater_or_equal
)
and
g
:
IsContains
(
mc
)
end
end
function
c13386407
.
spfilter
(
c
,
e
,
tp
)
function
c13386407
.
spfilter
(
c
,
e
,
tp
)
if
not
(
c
:
IsSetCard
(
0x106
)
and
not
c
:
IsCode
(
29348048
)
if
not
(
c
:
IsSetCard
(
0x106
)
and
not
c
:
IsCode
(
29348048
)
...
@@ -79,9 +79,9 @@ function c13386407.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,9 +79,9 @@ function c13386407.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
lv
=
Card
.
GetLevel
(
tc
)
local
lv
=
Card
.
GetLevel
(
tc
)
Auxiliary
.
GCheckAdditional
=
Auxiliary
.
RitualCheckAdditional
(
tc
,
lv
,
"Greater"
)
aux
.
GCheckAdditional
=
aux
.
RitualCheckAdditional
(
tc
,
lv
,
"Greater"
)
mat
=
mg
:
SelectSubGroup
(
tp
,
c13386407
.
rcheck
,
false
,
1
,
lv
,
tp
,
tc
,
lv
,
"Greater"
,
sc
)
mat
=
mg
:
SelectSubGroup
(
tp
,
c13386407
.
rcheck
,
false
,
1
,
lv
,
tp
,
tc
,
lv
,
"Greater"
,
sc
)
Auxiliary
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
tc
:
SetMaterial
(
mat
)
tc
:
SetMaterial
(
mat
)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
c18890039.lua
View file @
aaa5251c
...
@@ -10,7 +10,7 @@ function s.initial_effect(c)
...
@@ -10,7 +10,7 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
op
)
e1
:
SetOperation
(
s
.
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Ritual sum
--Ritual sum
local
e2
=
Auxiliary
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
)
local
e2
=
aux
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
c32785578.lua
View file @
aaa5251c
...
@@ -11,7 +11,7 @@ function c32785578.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c32785578.initial_effect(c)
e1
:
SetOperation
(
c32785578
.
activate
)
e1
:
SetOperation
(
c32785578
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
Auxiliary
.
LabrynthDestroyOp
(
e
,
tp
,
res
)
function
aux
.
LabrynthDestroyOp
(
e
,
tp
,
res
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
chk
=
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsSetCard
(
0x117e
)
and
c
:
GetType
()
==
TYPE_TRAP
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
local
chk
=
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsSetCard
(
0x117e
)
and
c
:
GetType
()
==
TYPE_TRAP
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
local
exc
=
nil
local
exc
=
nil
...
...
c35705817.lua
View file @
aaa5251c
...
@@ -39,12 +39,12 @@ function c35705817.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -39,12 +39,12 @@ function c35705817.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
if
mg2
:
GetCount
()
>
0
then
if
mg2
:
GetCount
()
>
0
then
mg1
:
Merge
(
mg2
)
mg1
:
Merge
(
mg2
)
Auxiliary
.
FCheckAdditional
=
c35705817
.
fcheck
aux
.
FCheckAdditional
=
c35705817
.
fcheck
Auxiliary
.
GCheckAdditional
=
c35705817
.
gcheck
aux
.
GCheckAdditional
=
c35705817
.
gcheck
end
end
local
res
=
Duel
.
IsExistingMatchingCard
(
c35705817
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c35705817
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
Auxiliary
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
Auxiliary
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
if
not
res
then
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
if
ce
~=
nil
then
...
@@ -71,12 +71,12 @@ function c35705817.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,12 +71,12 @@ function c35705817.activate(e,tp,eg,ep,ev,re,r,rp)
exmat
=
true
exmat
=
true
end
end
if
exmat
then
if
exmat
then
Auxiliary
.
FCheckAdditional
=
c35705817
.
fcheck
aux
.
FCheckAdditional
=
c35705817
.
fcheck
Auxiliary
.
GCheckAdditional
=
c35705817
.
gcheck
aux
.
GCheckAdditional
=
c35705817
.
gcheck
end
end
local
sg1
=
Duel
.
GetMatchingGroup
(
c35705817
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c35705817
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
Auxiliary
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
Auxiliary
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
local
mg3
=
nil
local
mg3
=
nil
local
sg2
=
nil
local
sg2
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
@@ -95,12 +95,12 @@ function c35705817.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,12 +95,12 @@ function c35705817.activate(e,tp,eg,ep,ev,re,r,rp)
mg1
:
RemoveCard
(
tc
)
mg1
:
RemoveCard
(
tc
)
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
exmat
then
if
exmat
then
Auxiliary
.
FCheckAdditional
=
c35705817
.
fcheck
aux
.
FCheckAdditional
=
c35705817
.
fcheck
Auxiliary
.
GCheckAdditional
=
c35705817
.
gcheck
aux
.
GCheckAdditional
=
c35705817
.
gcheck
end
end
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
Auxiliary
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
Auxiliary
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
local
rg
=
mat1
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_ONFIELD
)
local
rg
=
mat1
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_ONFIELD
)
mat1
:
Sub
(
rg
)
mat1
:
Sub
(
rg
)
...
...
c5380979.lua
View file @
aaa5251c
...
@@ -24,7 +24,7 @@ function c5380979.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c5380979.initial_effect(c)
e2
:
SetOperation
(
c5380979
.
setop
)
e2
:
SetOperation
(
c5380979
.
setop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
Auxiliary
.
LabrynthDestroyOp
(
e
,
tp
,
res
)
function
aux
.
LabrynthDestroyOp
(
e
,
tp
,
res
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
chk
=
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsSetCard
(
0x117e
)
and
c
:
GetType
()
==
TYPE_TRAP
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
local
chk
=
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsSetCard
(
0x117e
)
and
c
:
GetType
()
==
TYPE_TRAP
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
local
exc
=
nil
local
exc
=
nil
...
...
c82128978.lua
View file @
aaa5251c
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
spop
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Ritual sum
--Ritual sum
local
e2
=
Auxiliary
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
)
local
e2
=
aux
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment