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
a510e532
Commit
a510e532
authored
May 07, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/LEDE' into mc_master
parents
44eff41f
087494f5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
14 deletions
+12
-14
c30336082.lua
c30336082.lua
+4
-3
c66518509.lua
c66518509.lua
+6
-8
c66730191.lua
c66730191.lua
+0
-1
c99153051.lua
c99153051.lua
+2
-2
No files found.
c30336082.lua
View file @
a510e532
...
...
@@ -55,9 +55,10 @@ function c30336082.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c30336082
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
BreakEffect
()
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
function
c30336082
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -84,4 +85,4 @@ function c30336082.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
c66518509.lua
View file @
a510e532
...
...
@@ -31,21 +31,19 @@ function s.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
spcfilter
1
(
c
)
function
s
.
spcfilter
(
c
)
return
c
:
IsReason
(
REASON_EFFECT
)
and
(
c
:
IsType
(
TYPE_MONSTER
)
or
c
:
IsPreviousLocation
(
LOCATION_MZONE
))
end
function
s
.
spcfilter2
(
c
,
tp
)
return
c
:
IsReason
(
REASON_EFFECT
)
and
(
c
:
IsType
(
TYPE_MONSTER
)
or
c
:
IsPreviousLocation
(
LOCATION_MZONE
))
and
c
:
IsPreviousControler
(
tp
)
and
not
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
end
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
spcfilter
1
,
1
,
nil
)
return
eg
:
IsExists
(
s
.
spcfilter
,
1
,
nil
)
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsExists
(
s
.
spcfilter2
,
1
,
nil
,
0
)
then
local
g
=
eg
:
Filter
(
s
.
spcfilter
,
nil
)
if
g
:
IsExists
(
Card
.
IsPreviousControler
,
1
,
nil
,
0
)
then
Duel
.
RegisterFlagEffect
(
0
,
id
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
if
eg
:
IsExists
(
s
.
spcfilter2
,
1
,
nil
,
1
)
then
if
g
:
IsExists
(
Card
.
IsPreviousControler
,
1
,
nil
,
1
)
then
Duel
.
RegisterFlagEffect
(
1
,
id
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
end
...
...
c66730191.lua
View file @
a510e532
...
...
@@ -39,7 +39,6 @@ function c66730191.activate(e,tp,eg,ep,ev,re,r,rp)
op
=
1
end
end
Duel
.
AdjustAll
()
b2
=
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c66730191
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
if
b2
and
(
op
==
0
or
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
66730191
,
2
)))
then
if
op
~=
0
then
...
...
c99153051.lua
View file @
a510e532
...
...
@@ -50,7 +50,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
2
)
if
Duel
.
SendtoHand
(
tg1
,
nil
,
REASON_EFFECT
)
~=
0
then
if
tg1
and
Duel
.
SendtoHand
(
tg1
,
nil
,
REASON_EFFECT
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tg1
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
...
@@ -71,4 +71,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
\ No newline at end of file
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