Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
a8aac4b4
Commit
a8aac4b4
authored
Mar 28, 2022
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
97f28df1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
8 deletions
+18
-8
expansions/script/c33300302.lua
expansions/script/c33300302.lua
+3
-1
expansions/script/c33300303.lua
expansions/script/c33300303.lua
+3
-1
expansions/script/c33300304.lua
expansions/script/c33300304.lua
+4
-2
expansions/script/c33300305.lua
expansions/script/c33300305.lua
+4
-2
expansions/script/c33300306.lua
expansions/script/c33300306.lua
+4
-2
No files found.
expansions/script/c33300302.lua
View file @
a8aac4b4
...
@@ -30,12 +30,14 @@ function cm.IsLinkZoneOver(count)
...
@@ -30,12 +30,14 @@ function cm.IsLinkZoneOver(count)
for
i
=
0
,
4
do
for
i
=
0
,
4
do
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
elseif
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
end
if
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
end
end
end
end
return
flag
>=
count
return
flag
>=
count
end
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
cm
.
IsLinkZoneOver
(
3
)
return
cm
.
IsLinkZoneOver
(
3
)
end
end
...
...
expansions/script/c33300303.lua
View file @
a8aac4b4
...
@@ -35,12 +35,14 @@ function cm.IsLinkZoneOver(count)
...
@@ -35,12 +35,14 @@ function cm.IsLinkZoneOver(count)
for
i
=
0
,
4
do
for
i
=
0
,
4
do
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
elseif
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
end
if
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
end
end
end
end
return
flag
>=
count
return
flag
>=
count
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x562
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x562
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
...
...
expansions/script/c33300304.lua
View file @
a8aac4b4
...
@@ -57,12 +57,14 @@ function cm.IsLinkZoneOver(count)
...
@@ -57,12 +57,14 @@ function cm.IsLinkZoneOver(count)
for
i
=
0
,
4
do
for
i
=
0
,
4
do
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
elseif
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
end
if
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
end
end
end
end
return
flag
>=
count
return
flag
>=
count
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
...
...
expansions/script/c33300305.lua
View file @
a8aac4b4
...
@@ -114,12 +114,14 @@ function cm.IsLinkZoneOver(count)
...
@@ -114,12 +114,14 @@ function cm.IsLinkZoneOver(count)
for
i
=
0
,
4
do
for
i
=
0
,
4
do
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
elseif
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
end
if
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
end
end
end
end
return
flag
>=
count
return
flag
>=
count
end
end
function
cm
.
tgcheck
(
c
)
function
cm
.
tgcheck
(
c
)
return
c
:
IsLocation
(
LOCATION_SZONE
)
or
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsFaceup
())
return
c
:
IsLocation
(
LOCATION_SZONE
)
or
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsFaceup
())
end
end
...
...
expansions/script/c33300306.lua
View file @
a8aac4b4
...
@@ -125,12 +125,14 @@ function cm.IsLinkZoneOver(count)
...
@@ -125,12 +125,14 @@ function cm.IsLinkZoneOver(count)
for
i
=
0
,
4
do
for
i
=
0
,
4
do
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
if
(
Duel
.
GetLinkedZone
(
0
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
elseif
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
end
if
(
Duel
.
GetLinkedZone
(
1
)
&
((
2
^
i
)
<<
0
))
~=
0
then
flag
=
flag
+
1
flag
=
flag
+
1
end
end
end
end
return
flag
>=
count
return
flag
>=
count
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x562
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x562
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
...
...
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