Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
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
MyCard
ygopro-rush-duel
Commits
50ce3366
Commit
50ce3366
authored
Dec 24, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/12/24 自我回避调整更新
parent
a39953b3
Pipeline
#24597
passed with stages
in 17 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
script/RDAction.lua
script/RDAction.lua
+5
-1
script/c120249066.lua
script/c120249066.lua
+1
-0
No files found.
script/RDAction.lua
View file @
50ce3366
-- Rush Duel 操作
RushDuel
=
RushDuel
or
{}
-- 特殊调整,里侧守备表示特殊召唤时不用给对方确认
RushDuel
.
DisableSpecialSummonConfirm
=
false
-- 内部方法: 选择匹配卡片, 执行操作
function
RushDuel
.
_private_action_select_match
(
hint
,
filter
,
tp
,
s_range
,
o_range
,
min
,
max
,
expect
,
hint_selection
,
confirm
,
action
,
...
)
if
min
<
2
or
Duel
.
IsExistingMatchingCard
(
filter
,
tp
,
s_range
,
o_range
,
min
,
expect
,
...
)
then
...
...
@@ -61,13 +64,14 @@ function RushDuel._special_summon(target, effect, player, position, break_effect
Duel
.
BreakEffect
()
end
local
ct
=
Duel
.
SpecialSummon
(
target
,
0
,
player
,
target_player
or
player
,
false
,
false
,
position
)
if
(
position
&
POS_FACEDOWN
)
~=
0
then
if
(
position
&
POS_FACEDOWN
)
~=
0
and
not
RushDuel
.
DisableSpecialSummonConfirm
then
Duel
.
ConfirmCards
(
1
-
player
,
target
)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsFacedown
,
nil
)
if
og
:
GetCount
()
>
1
then
Duel
.
ShuffleSetCard
(
og
)
end
end
RushDuel
.
DisableSpecialSummonConfirm
=
false
return
ct
end
-- 内部方法: 盖放魔法陷阱
...
...
script/c120249066.lua
View file @
50ce3366
...
...
@@ -26,6 +26,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
Draw
()
~=
0
then
RD
.
DisableSpecialSummonConfirm
=
true
RD
.
CanSelectAndSpecialSummon
(
aux
.
Stringid
(
m
,
1
),
cm
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
3
,
nil
,
e
,
POS_FACEDOWN_DEFENSE
,
true
)
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