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
4ef7cf45
Commit
4ef7cf45
authored
Feb 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'PHNI' into master
parents
d6202e39
cc46ce03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
c13744068.lua
c13744068.lua
+3
-3
c88284599.lua
c88284599.lua
+9
-1
No files found.
c13744068.lua
View file @
4ef7cf45
...
@@ -35,9 +35,9 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -35,9 +35,9 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
rg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
rg
:
CheckSubGroup
(
s
.
fselect
,
1
,
2
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
2
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
1
,
2
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
...
@@ -75,4 +75,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +75,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
atk
)
e1
:
SetValue
(
atk
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
c88284599.lua
View file @
4ef7cf45
...
@@ -42,6 +42,14 @@ function s.sprop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -42,6 +42,14 @@ function s.sprop(e,tp,eg,ep,ev,re,r,rp,c)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
sprfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
sprfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
2
,
2
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
2
,
2
)
local
hg
=
sg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
if
#
hg
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
hg
)
end
local
gg
=
sg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
if
#
gg
>
0
then
Duel
.
HintSelection
(
gg
)
end
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_COST
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_COST
)
end
end
function
s
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -89,4 +97,4 @@ end
...
@@ -89,4 +97,4 @@ end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
\ No newline at end of file
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