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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
de7b4aab
Commit
de7b4aab
authored
Oct 25, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setcode
parent
97e0ee68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c88695895.lua
c88695895.lua
+2
-2
No files found.
c88695895.lua
View file @
de7b4aab
...
@@ -33,7 +33,7 @@ function s.cfilter(c,e,tp)
...
@@ -33,7 +33,7 @@ function s.cfilter(c,e,tp)
return
c
:
IsSummonPlayer
(
1
-
tp
)
and
c
:
IsSummonLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
return
c
:
IsSummonPlayer
(
1
-
tp
)
and
c
:
IsSummonLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
end
end
function
s
.
confilter
(
c
)
function
s
.
confilter
(
c
)
return
c
:
IsSetCard
(
0x19b
)
and
c
:
IsFaceup
()
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
return
c
:
IsSetCard
(
0x1
1
9b
)
and
c
:
IsFaceup
()
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
end
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
confilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
confilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
...
@@ -63,7 +63,7 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
if
not
d
then
return
false
end
if
not
d
then
return
false
end
if
not
a
:
IsControler
(
tp
)
then
a
,
d
=
d
,
a
end
if
not
a
:
IsControler
(
tp
)
then
a
,
d
=
d
,
a
end
e
:
SetLabelObject
(
d
)
e
:
SetLabelObject
(
d
)
return
a
:
IsControler
(
tp
)
and
a
:
IsFaceup
()
and
a
:
IsSetCard
(
0x19b
)
and
d
:
IsControler
(
1
-
tp
)
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
return
a
:
IsControler
(
tp
)
and
a
:
IsFaceup
()
and
a
:
IsSetCard
(
0x1
1
9b
)
and
d
:
IsControler
(
1
-
tp
)
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
end
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
d
=
e
:
GetLabelObject
()
local
d
=
e
:
GetLabelObject
()
...
...
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