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
b7e0addc
Commit
b7e0addc
authored
Apr 19, 2021
by
Chrono-Genex
Committed by
GitHub
Apr 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use ATTRIBUTE_ALL (#1623)
parent
91d15b00
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
c15595052.lua
c15595052.lua
+1
-1
c27340877.lua
c27340877.lua
+1
-1
c30334522.lua
c30334522.lua
+1
-1
c34989413.lua
c34989413.lua
+1
-1
c40410110.lua
c40410110.lua
+1
-1
c56769674.lua
c56769674.lua
+1
-1
c5795980.lua
c5795980.lua
+1
-1
c88581108.lua
c88581108.lua
+1
-1
No files found.
c15595052.lua
View file @
b7e0addc
...
...
@@ -19,7 +19,7 @@ function c15595052.ancop(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
15595052
)
if
ct
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
ct
,
0xffff
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
ct
,
ATTRIBUTE_ALL
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
att
)
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c27340877.lua
View file @
b7e0addc
...
...
@@ -24,7 +24,7 @@ function c27340877.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFacedown
()
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
1
-
tp
,
2
,
0xffffff
)
local
rc
=
Duel
.
AnnounceAttribute
(
1
-
tp
,
2
,
ATTRIBUTE_ALL
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsAttribute
(
rc
)
then
Duel
.
Draw
(
1
-
tp
,
2
,
REASON_EFFECT
)
...
...
c30334522.lua
View file @
b7e0addc
...
...
@@ -18,7 +18,7 @@ function c30334522.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
rc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
at
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
local
at
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
Duel
.
SetTargetParam
(
at
)
end
function
c30334522
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c34989413.lua
View file @
b7e0addc
...
...
@@ -48,7 +48,7 @@ function c34989413.atttg(e,tp,eg,ep,ev,re,r,rp,chk)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c34989413
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
lg
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
e
:
SetLabel
(
att
)
end
function
c34989413
.
attop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c40410110.lua
View file @
b7e0addc
...
...
@@ -14,7 +14,7 @@ function c40410110.attop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
catt
=
c
:
GetAttribute
()
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
-
catt
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
-
catt
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
...
...
c56769674.lua
View file @
b7e0addc
...
...
@@ -20,7 +20,7 @@ end
function
c56769674
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
e
:
GetLabelObject
():
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
end
...
...
c5795980.lua
View file @
b7e0addc
...
...
@@ -84,7 +84,7 @@ end
function
c5795980
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
e
:
SetLabel
(
rc
)
end
function
c5795980
.
atop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c88581108.lua
View file @
b7e0addc
...
...
@@ -31,7 +31,7 @@ end
function
c88581108
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
e
:
SetLabel
(
rc
)
end
function
c88581108
.
atop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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