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
4
Merge Requests
4
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
5b65922e
Commit
5b65922e
authored
Sep 24, 2023
by
mercury233
Committed by
GitHub
Sep 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add reason player for player actions part 1 (#2130)
parent
3b790a1b
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
16 deletions
+16
-16
c15693423.lua
c15693423.lua
+1
-1
c27279764.lua
c27279764.lua
+1
-1
c31044787.lua
c31044787.lua
+1
-1
c33925864.lua
c33925864.lua
+1
-1
c38026562.lua
c38026562.lua
+1
-1
c39618799.lua
c39618799.lua
+1
-1
c47961342.lua
c47961342.lua
+2
-2
c56830749.lua
c56830749.lua
+1
-1
c68199168.lua
c68199168.lua
+1
-1
c68300121.lua
c68300121.lua
+1
-1
c73104892.lua
c73104892.lua
+1
-1
c7373632.lua
c7373632.lua
+1
-1
c91668401.lua
c91668401.lua
+1
-1
c94016752.lua
c94016752.lua
+1
-1
c96162588.lua
c96162588.lua
+1
-1
No files found.
c15693423.lua
View file @
5b65922e
...
@@ -35,7 +35,7 @@ function c15693423.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c15693423.activate(e,tp,eg,ep,ev,re,r,rp)
if
ct
>
0
then
if
ct
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
FilterSelect
(
1
-
tp
,
Card
.
IsAbleToRemove
,
ct
,
ct
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
sg
=
g
:
FilterSelect
(
1
-
tp
,
Card
.
IsAbleToRemove
,
ct
,
ct
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_RULE
)
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c15693423
.
handcon
(
e
)
function
c15693423
.
handcon
(
e
)
...
...
c27279764.lua
View file @
5b65922e
...
@@ -93,6 +93,6 @@ function c27279764.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,6 +93,6 @@ function c27279764.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
c31044787.lua
View file @
5b65922e
...
@@ -31,5 +31,5 @@ function c31044787.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,5 +31,5 @@ function c31044787.activate(e,tp,eg,ep,ev,re,r,rp)
if
diff
<=
0
then
return
end
if
diff
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
SelectWithSumGreater
(
1
-
tp
,
Card
.
GetAttack
,
diff
)
local
sg
=
g
:
SelectWithSumGreater
(
1
-
tp
,
Card
.
GetAttack
,
diff
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_RULE
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_RULE
,
1
-
tp
)
end
end
c33925864.lua
View file @
5b65922e
...
@@ -59,7 +59,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
ct
=#
g2
-
1
local
ct
=#
g2
-
1
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
sg
=
g2
:
FilterSelect
(
1
-
tp
,
Card
.
IsAbleToRemove
,
ct
,
ct
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
sg
=
g2
:
FilterSelect
(
1
-
tp
,
Card
.
IsAbleToRemove
,
ct
,
ct
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_RULE
)
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
s
.
thfilter
(
c
,
tp
)
function
s
.
thfilter
(
c
,
tp
)
...
...
c38026562.lua
View file @
5b65922e
...
@@ -90,6 +90,6 @@ function c38026562.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,6 +90,6 @@ function c38026562.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
c39618799.lua
View file @
5b65922e
...
@@ -47,7 +47,7 @@ function c39618799.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c39618799.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c39618799
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39618799
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c47961342.lua
View file @
5b65922e
...
@@ -24,9 +24,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,9 +24,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
opt
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
id
,
1
),
aux
.
Stringid
(
id
,
2
))
local
opt
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
id
,
1
),
aux
.
Stringid
(
id
,
2
))
if
opt
==
0
then
if
opt
==
0
then
Duel
.
SendtoGrave
(
g
,
REASON_RULE
)
Duel
.
SendtoGrave
(
g
,
REASON_RULE
,
1
-
tp
)
else
else
local
g2
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
g
)
local
g2
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
g
)
Duel
.
SendtoGrave
(
g2
,
REASON_RULE
)
Duel
.
SendtoGrave
(
g2
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
c56830749.lua
View file @
5b65922e
...
@@ -19,5 +19,5 @@ function c56830749.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,5 +19,5 @@ function c56830749.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c56830749
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56830749
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectReleaseGroup
(
1
-
tp
,
nil
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
1
-
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_RULE
)
Duel
.
Release
(
g
,
REASON_RULE
,
1
-
tp
)
end
end
c68199168.lua
View file @
5b65922e
...
@@ -50,7 +50,7 @@ function c68199168.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c68199168.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c68199168
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68199168
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c68300121.lua
View file @
5b65922e
...
@@ -70,6 +70,6 @@ end
...
@@ -70,6 +70,6 @@ end
function
c68300121
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68300121
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsRelateToBattle
()
then
if
tc
:
IsRelateToBattle
()
then
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
c73104892.lua
View file @
5b65922e
...
@@ -77,5 +77,5 @@ function c73104892.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,5 +77,5 @@ function c73104892.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c73104892
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
tp
,
tc
:
GetSequence
())
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c73104892
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
tp
,
tc
:
GetSequence
())
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_RULE
)
Duel
.
SendtoGrave
(
g
,
REASON_RULE
,
1
-
tp
)
end
end
c7373632.lua
View file @
5b65922e
...
@@ -85,7 +85,7 @@ function c7373632.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,7 +85,7 @@ function c7373632.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c7373632
.
effectfilter
(
e
,
ct
)
function
c7373632
.
effectfilter
(
e
,
ct
)
...
...
c91668401.lua
View file @
5b65922e
...
@@ -44,7 +44,7 @@ function c91668401.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c91668401.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c91668401
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91668401
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c94016752.lua
View file @
5b65922e
...
@@ -36,7 +36,7 @@ function c94016752.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c94016752.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
local
code
=
sg
:
GetFirst
():
GetCode
()
local
code
=
sg
:
GetFirst
():
GetCode
()
if
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
~=
0
then
if
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
1
-
tp
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
c96162588.lua
View file @
5b65922e
...
@@ -47,7 +47,7 @@ function c96162588.rlop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c96162588.rlop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
Release
(
sg
,
REASON_RULE
)
Duel
.
Release
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c96162588
.
desfilter
(
c
)
function
c96162588
.
desfilter
(
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