Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
78632bfc
Commit
78632bfc
authored
Mar 17, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
34da2710
Pipeline
#2677
passed with stages
in 25 minutes and 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c12048015.lua
expansions/script/c12048015.lua
+2
-2
expansions/script/c12048030.lua
expansions/script/c12048030.lua
+1
-0
expansions/script/c40009178.lua
expansions/script/c40009178.lua
+1
-1
No files found.
expansions/script/c12048015.lua
View file @
78632bfc
...
...
@@ -31,8 +31,8 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
(
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
)
or
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
0
then
return
end
local
ct
=
Duel
.
GetField
Card
(
tp
,
LOCATION_DECK
,
0
)
-
1
local
hc
=
Duel
.
GetField
Card
(
tp
,
LOCATION_HAND
,
0
)
local
ct
=
Duel
.
GetField
GroupCount
(
tp
,
LOCATION_DECK
,
0
)
-
1
local
hc
=
Duel
.
GetField
GroupCount
(
tp
,
LOCATION_HAND
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
math.min
(
ct
,
hc
),
nil
,
REASON_EFFECT
)
local
tt
=
g
:
GetCount
()
+
1
...
...
expansions/script/c12048030.lua
View file @
78632bfc
...
...
@@ -2,6 +2,7 @@ Duel.LoadScript("c12048000.lua")
--墓城誓姬 黑崎春日
local
m
=
12048030
local
cm
=
_G
[
"c"
..
m
]
cm
.
named_with_HakaShiro
=
true
function
cm
.
initial_effect
(
c
)
--indes
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c40009178.lua
View file @
78632bfc
...
...
@@ -84,7 +84,7 @@ function c40009178.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c40009178
.
setfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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