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
9b54370e
Commit
9b54370e
authored
Oct 24, 2017
by
nekrozar
Committed by
mercury233
Oct 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update (#961)
parent
bcd9a5c2
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
16 additions
and
15 deletions
+16
-15
c10352095.lua
c10352095.lua
+1
-1
c20127343.lua
c20127343.lua
+1
-1
c27769400.lua
c27769400.lua
+1
-1
c33184167.lua
c33184167.lua
+1
-1
c38049541.lua
c38049541.lua
+1
-1
c49600724.lua
c49600724.lua
+1
-0
c53334471.lua
c53334471.lua
+2
-2
c54757758.lua
c54757758.lua
+1
-1
c56704140.lua
c56704140.lua
+1
-1
c60530944.lua
c60530944.lua
+2
-2
c8522996.lua
c8522996.lua
+1
-1
c90846359.lua
c90846359.lua
+2
-2
c98126725.lua
c98126725.lua
+1
-1
No files found.
c10352095.lua
View file @
9b54370e
...
...
@@ -29,7 +29,7 @@ function c10352095.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
RAC
E
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
ATTRIBUT
E
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
GetLabelObject
():
SetLabel
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
...
...
c20127343.lua
View file @
9b54370e
...
...
@@ -16,7 +16,7 @@ function c20127343.costg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
RAC
E
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
ATTRIBUT
E
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
g
:
GetFirst
():
GetAttribute
())
e
:
SetLabel
(
att
)
end
...
...
c27769400.lua
View file @
9b54370e
...
...
@@ -73,7 +73,7 @@ function c27769400.desfilter(c,att)
end
function
c27769400
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
RAC
E
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
ATTRIBUT
E
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
)
Duel
.
SetTargetParam
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
...
...
c33184167.lua
View file @
9b54370e
...
...
@@ -27,7 +27,7 @@ function c33184167.target(e,tp,eg,ep,ev,re,r,rp,chk)
race
=
bit
.
bor
(
race
,
tc
:
GetRace
())
tc
=
g
:
GetNext
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
arc
=
Duel
.
AnnounceRace
(
tp
,
1
,
race
)
e
:
SetLabel
(
arc
)
local
dg
=
g
:
Filter
(
Card
.
IsRace
,
nil
,
arc
)
...
...
c38049541.lua
View file @
9b54370e
...
...
@@ -22,7 +22,7 @@ end
function
c38049541
.
costg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c38049541
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0x7f
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c38049541
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
...
...
c49600724.lua
View file @
9b54370e
...
...
@@ -30,6 +30,7 @@ function c49600724.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
att
=
bit
.
bor
(
att
,
tc
:
GetAttribute
())
tc
=
rg
:
GetNext
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
ac
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
att
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
rg
:
FilterSelect
(
tp
,
Card
.
IsAttribute
,
2
,
2
,
nil
,
ac
)
...
...
c53334471.lua
View file @
9b54370e
...
...
@@ -77,7 +77,7 @@ function c53334471.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
att
=
c53334471
.
getattribute
(
g1
)
if
bit
.
band
(
att
,
att
-
1
)
~=
0
then
if
c53334471
[
tp
]
==
0
or
bit
.
band
(
c53334471
[
tp
],
att
)
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
53334471
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
att
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
att
)
else
att
=
c53334471
[
tp
]
end
end
...
...
@@ -89,7 +89,7 @@ function c53334471.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
att
=
c53334471
.
getattribute
(
g2
)
if
bit
.
band
(
att
,
att
-
1
)
~=
0
then
if
c53334471
[
1
-
tp
]
==
0
or
bit
.
band
(
c53334471
[
1
-
tp
],
att
)
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
53334471
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATTRIBUTE
)
att
=
Duel
.
AnnounceAttribute
(
1
-
tp
,
1
,
att
)
else
att
=
c53334471
[
1
-
tp
]
end
end
...
...
c54757758.lua
View file @
9b54370e
...
...
@@ -41,7 +41,7 @@ function c54757758.tglimit(e,c)
end
function
c54757758
.
atttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
aat
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xff
-
e
:
GetHandler
():
GetAttribute
())
e
:
SetLabel
(
aat
)
end
...
...
c56704140.lua
View file @
9b54370e
...
...
@@ -18,7 +18,7 @@ function c56704140.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c56704140
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
aat
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0x7f
)
e
:
SetLabel
(
aat
)
end
...
...
c60530944.lua
View file @
9b54370e
...
...
@@ -37,10 +37,10 @@ function c60530944.operation(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
local
g2
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
60530944
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
r1
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
c60530944
.
getattr
(
g1
))
g1
:
Remove
(
c60530944
.
rmfilter
,
nil
,
r1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
60530944
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATTRIBUTE
)
local
r2
=
Duel
.
AnnounceAttribute
(
1
-
tp
,
1
,
c60530944
.
getattr
(
g2
))
g2
:
Remove
(
c60530944
.
rmfilter
,
nil
,
r2
)
g1
:
Merge
(
g2
)
...
...
c8522996.lua
View file @
9b54370e
...
...
@@ -54,7 +54,7 @@ function c8522996.chcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c8522996
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
aat
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0x7f
)
e
:
SetLabel
(
aat
)
end
...
...
c90846359.lua
View file @
9b54370e
...
...
@@ -78,7 +78,7 @@ function c90846359.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
rac
=
c90846359
.
getrace
(
g1
)
if
bit
.
band
(
rac
,
rac
-
1
)
~=
0
then
if
c90846359
[
tp
]
==
0
or
bit
.
band
(
c90846359
[
tp
],
rac
)
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
90846359
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
rac
=
Duel
.
AnnounceRace
(
tp
,
1
,
rac
)
else
rac
=
c90846359
[
tp
]
end
end
...
...
@@ -90,7 +90,7 @@ function c90846359.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
rac
=
c90846359
.
getrace
(
g2
)
if
bit
.
band
(
rac
,
rac
-
1
)
~=
0
then
if
c90846359
[
1
-
tp
]
==
0
or
bit
.
band
(
c90846359
[
1
-
tp
],
rac
)
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
90846359
,
0
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_RACE
)
rac
=
Duel
.
AnnounceRace
(
1
-
tp
,
1
,
rac
)
else
rac
=
c90846359
[
1
-
tp
]
end
end
...
...
c98126725.lua
View file @
9b54370e
...
...
@@ -18,7 +18,7 @@ function c98126725.atcon(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c98126725
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
ac
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
)
e
:
SetLabel
(
ac
)
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