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
8258376c
Commit
8258376c
authored
Mar 18, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
21dcf9d1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
c38491852.lua
c38491852.lua
+1
-1
c5786513.lua
c5786513.lua
+1
-1
c67457739.lua
c67457739.lua
+1
-1
c7020743.lua
c7020743.lua
+2
-2
No files found.
c38491852.lua
View file @
8258376c
...
...
@@ -65,7 +65,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
elseif
op
==
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
Group
,
false
,
2
,
2
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
Group
,
false
,
2
,
2
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
sg
:
FilterSelect
(
tp
,
Card
.
IsAbleToHand
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
...
...
c5786513.lua
View file @
8258376c
...
...
@@ -26,7 +26,7 @@ function s.lvfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
end
function
s
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
s
.
lvfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsControler
(
tp
)
and
s
.
lvfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
...
...
c67457739.lua
View file @
8258376c
...
...
@@ -40,7 +40,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
Group
.
CreateGroup
()
while
true
do
g
=
Duel
.
GetMatchingGroup
(
s
.
desfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
,
e
,
tp
,
gc1
,
gc2
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
desfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sg
,
e
,
tp
,
gc1
,
gc2
)
if
g
:
IsContains
(
e
:
GetHandler
())
then
g
:
RemoveCard
(
e
:
GetHandler
())
end
...
...
c7020743.lua
View file @
8258376c
...
...
@@ -54,13 +54,13 @@ function s.initial_effect(c)
ge1
:
SetCode
(
EVENT_CHAIN_NEGATED
)
ge1
:
SetOperation
(
s
.
negcheck
)
ge1
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
ge1
,
tp
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
negcheck
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
de
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_DISABLE_REASON
)
if
de
then
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
id
,
t
e
,
0
,
tp
,
tp
,
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
id
,
d
e
,
0
,
tp
,
tp
,
0
)
end
end
function
s
.
ofilter
(
c
,
e
)
...
...
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