Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
a880e460
Commit
a880e460
authored
Oct 16, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean
parent
5e72a7bc
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
c23187256.lua
c23187256.lua
+1
-1
c28776350.lua
c28776350.lua
+3
-3
c43490025.lua
c43490025.lua
+1
-1
c52653092.lua
c52653092.lua
+1
-1
c57314798.lua
c57314798.lua
+1
-1
c65305468.lua
c65305468.lua
+1
-1
c77610772.lua
c77610772.lua
+1
-1
utility.lua
utility.lua
+2
-2
No files found.
c23187256.lua
View file @
a880e460
...
...
@@ -30,7 +30,7 @@ c23187256.xyz_number=93
function
c23187256
.
mfilter
(
c
,
xyzc
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x48
)
and
c
:
GetOverlayCount
()
>
0
end
function
c23187256
.
xyzcheck
(
g
,
xyzc
)
function
c23187256
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRank
)
==
1
end
function
c23187256
.
filter
(
c
,
e
,
tp
)
...
...
c28776350.lua
View file @
a880e460
...
...
@@ -32,6 +32,9 @@ function c28776350.initial_effect(c)
e3
:
SetOperation
(
c28776350
.
acop
)
c
:
RegisterEffect
(
e3
)
end
function
c28776350
.
lcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRace
)
==
1
end
function
c28776350
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_LINK
)
==
SUMMON_TYPE_LINK
end
...
...
@@ -48,9 +51,6 @@ end
function
c28776350
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsCode
(
28776350
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_LINK
)
==
SUMMON_TYPE_LINK
end
function
c28776350
.
lcheck
(
g
,
lc
)
return
g
:
GetClassCount
(
Card
.
GetRace
)
==
1
end
function
c28776350
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
...
...
c43490025.lua
View file @
a880e460
...
...
@@ -33,7 +33,7 @@ c43490025.xyz_number=0
function
c43490025
.
mfilter
(
c
,
xyzc
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
not
c
:
IsSetCard
(
0x48
)
end
function
c43490025
.
xyzcheck
(
g
,
xyzc
)
function
c43490025
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRank
)
==
1
end
function
c43490025
.
ovfilter
(
c
)
...
...
c52653092.lua
View file @
a880e460
...
...
@@ -45,7 +45,7 @@ c52653092.xyz_number=0
function
c52653092
.
mfilter
(
c
,
xyzc
)
return
c
:
IsFaceup
()
and
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x48
)
end
function
c52653092
.
xyzcheck
(
g
,
xyzc
)
function
c52653092
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRank
)
==
1
end
function
c52653092
.
cfilter
(
c
)
...
...
c57314798.lua
View file @
a880e460
...
...
@@ -40,7 +40,7 @@ c57314798.xyz_number=100
function
c57314798
.
mfilter
(
c
,
xyzc
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsXyzType
(
TYPE_XYZ
)
end
function
c57314798
.
xyzcheck
(
g
,
xyzc
)
function
c57314798
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
1
and
g
:
GetClassCount
(
Card
.
GetRank
)
==
1
end
function
c57314798
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c65305468.lua
View file @
a880e460
...
...
@@ -41,7 +41,7 @@ c65305468.xyz_number=0
function
c65305468
.
mfilter
(
c
,
xyzc
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
not
c
:
IsSetCard
(
0x48
)
end
function
c65305468
.
xyzcheck
(
g
,
xyzc
)
function
c65305468
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRank
)
==
1
end
function
c65305468
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c77610772.lua
View file @
a880e460
...
...
@@ -40,7 +40,7 @@ function c77610772.initial_effect(c)
e5
:
SetOperation
(
c77610772
.
spop2
)
c
:
RegisterEffect
(
e5
)
end
function
c77610772
.
lcheck
(
g
,
lc
)
function
c77610772
.
lcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRace
)
==
g
:
GetCount
()
and
g
:
GetClassCount
(
Card
.
GetAttribute
)
==
g
:
GetCount
()
end
function
c77610772
.
incon
(
e
)
...
...
utility.lua
View file @
a880e460
...
...
@@ -656,7 +656,7 @@ function Auxiliary.XyzLevelFreeCheck(c,tp,xyzc,mg,sg,gf,minc,maxc)
return
res
end
function
Auxiliary
.
XyzLevelFreeGoal
(
g
,
tp
,
xyzc
,
gf
)
return
(
not
gf
or
gf
(
g
,
xyzc
))
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
xyzc
)
>
0
return
(
not
gf
or
gf
(
g
))
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
xyzc
)
>
0
end
function
Auxiliary
.
XyzLevelFreeCondition
(
f
,
gf
,
minct
,
maxct
)
return
function
(
e
,
c
,
og
,
min
,
max
)
...
...
@@ -1623,7 +1623,7 @@ function Auxiliary.LCheckRecursive(c,tp,sg,mg,lc,ct,minc,maxc,gf)
return
res
end
function
Auxiliary
.
LCheckGoal
(
tp
,
sg
,
lc
,
minc
,
ct
,
gf
)
return
ct
>=
minc
and
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
ct
,
ct
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
,
lc
))
return
ct
>=
minc
and
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
ct
,
ct
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
))
end
function
Auxiliary
.
LinkCondition
(
f
,
minc
,
maxc
,
gf
)
return
function
(
e
,
c
)
...
...
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