Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
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
八宫一月
pre-release-database-cdb
Commits
662d806e
Commit
662d806e
authored
Jan 27, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PHNI-EN text, Fix 仇すれば通図
parent
385891d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
PHNI-EN.cdb
PHNI-EN.cdb
+0
-0
script/c101204067.lua
script/c101204067.lua
+8
-8
No files found.
PHNI-EN.cdb
View file @
662d806e
No preview for this file type
script/c101204067.lua
View file @
662d806e
...
...
@@ -34,7 +34,7 @@ end
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
if
chk
==
0
then
if
ct
==
0
or
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
0
then
return
false
end
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
0
then
return
false
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
local
result
=
g
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
>
0
return
result
...
...
@@ -43,14 +43,14 @@ function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
local
dt
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
ct
=
Duel
.
GetFieldGroupCount
(
p
,
0
,
LOCATION_ONFIELD
)
local
dt
=
Duel
.
GetFieldGroupCount
(
p
,
LOCATION_DECK
,
0
)
ct
=
math.min
(
ct
,
dt
)
if
ct
==
0
then
return
end
local
t
=
{}
for
i
=
1
,
ct
do
t
[
i
]
=
i
end
local
ac
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
ac
=
Duel
.
AnnounceNumber
(
p
,
table.unpack
(
t
))
Duel
.
ConfirmDecktop
(
p
,
ac
)
local
g
=
Duel
.
GetDecktopGroup
(
p
,
ac
)
if
#
g
>
0
then
...
...
@@ -83,9 +83,9 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
ac
>
0
then
Duel
.
SortDecktop
(
tp
,
t
p
,
ac
)
Duel
.
SortDecktop
(
p
,
p
,
ac
)
for
i
=
1
,
ac
do
local
mg
=
Duel
.
GetDecktopGroup
(
t
p
,
1
)
local
mg
=
Duel
.
GetDecktopGroup
(
p
,
1
)
Duel
.
MoveSequence
(
mg
:
GetFirst
(),
SEQ_DECKBOTTOM
)
end
end
...
...
@@ -101,7 +101,7 @@ end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
if
aux
.
NecroValleyNegateCheck
(
g
)
then
return
end
if
#
g
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
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