Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
specials
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
JoyJ
specials
Commits
ef9699b3
Commit
ef9699b3
authored
Mar 13, 2023
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update srv5555 script 16-GreatLeader
parent
1066bf88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
dc-srv5555/S2/special-16-GreatLeader.lua
dc-srv5555/S2/special-16-GreatLeader.lua
+13
-5
No files found.
dc-srv5555/S2/special-16-GreatLeader.lua
View file @
ef9699b3
--村规决斗:伟大领袖
--村规决斗:伟大领袖
--开局时,
双方
各自从卡组·额外卡组选1张卡。
--开局时,
由先手-后手顺序,
各自从卡组·额外卡组选1张卡。
--
双方
选好后互相确认,并洗切卡组。
--选好后互相确认,并洗切卡组。
--各自的所有卡得到自己选的卡的所有效果和效果外文本。
--各自的所有卡得到自己选的卡的所有效果和效果外文本。
--不能选择【抒情歌鸲-独立夜莺】(76815942)【光之创造神 哈拉克提】(10000040)。
--细则:
--细则:
--大部分情况下,效果会限定发动位置。
--大部分情况下,效果会限定发动位置。
...
@@ -30,14 +31,19 @@ Card.RegisterEffect = function(c,e,forced)
...
@@ -30,14 +31,19 @@ Card.RegisterEffect = function(c,e,forced)
return
CRegisterEffect
(
c
,
e
,
forced
)
return
CRegisterEffect
(
c
,
e
,
forced
)
end
end
function
CUNGUI
.
filter
(
c
)
return
not
c
:
IsCode
(
76815942
,
10000040
)
end
function
CUNGUI
.
AdjustOperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
CUNGUI
.
AdjustOperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
CUNGUI
.
Init
=
true
CUNGUI
.
Init
=
true
local
tc
=
Duel
.
SelectMatchingCard
(
0
,
nil
,
0
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
0
,
CUNGUI
.
filter
,
0
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
cc
=
Duel
.
SelectMatchingCard
(
1
,
nil
,
1
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ConfirmCards
(
1
,
tc
)
Duel
.
ConfirmCards
(
1
,
tc
)
Duel
.
ConfirmCards
(
0
,
cc
)
Duel
.
ShuffleDeck
(
0
)
Duel
.
ShuffleDeck
(
0
)
local
cc
=
Duel
.
SelectMatchingCard
(
1
,
CUNGUI
.
filter
,
1
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ConfirmCards
(
0
,
cc
)
Duel
.
ShuffleDeck
(
1
)
Duel
.
ShuffleDeck
(
1
)
local
tce
=
_G
[
"c"
..
tc
:
GetOriginalCode
()]
local
tce
=
_G
[
"c"
..
tc
:
GetOriginalCode
()]
if
tce
and
tce
.
initial_effect
then
if
tce
and
tce
.
initial_effect
then
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
0
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
0
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
)
...
@@ -45,6 +51,7 @@ function CUNGUI.AdjustOperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,6 +51,7 @@ function CUNGUI.AdjustOperation(e,tp,eg,ep,ev,re,r,rp)
tce
.
initial_effect
(
c
)
tce
.
initial_effect
(
c
)
end
end
end
end
local
cce
=
_G
[
"c"
..
cc
:
GetOriginalCode
()]
local
cce
=
_G
[
"c"
..
cc
:
GetOriginalCode
()]
if
cce
and
cce
.
initial_effect
then
if
cce
and
cce
.
initial_effect
then
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
1
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
1
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
nil
)
...
@@ -52,5 +59,6 @@ function CUNGUI.AdjustOperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,5 +59,6 @@ function CUNGUI.AdjustOperation(e,tp,eg,ep,ev,re,r,rp)
cce
.
initial_effect
(
c
)
cce
.
initial_effect
(
c
)
end
end
end
end
e
:
Reset
()
e
:
Reset
()
end
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