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
41add2b1
Commit
41add2b1
authored
Sep 29, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/9/29 通常魔法卡判定修复
parent
fef5208e
Pipeline
#40776
passed with stages
in 12 minutes and 47 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
script/RDCondition.lua
script/RDCondition.lua
+4
-0
script/c120109048.lua
script/c120109048.lua
+1
-1
script/c120235039.lua
script/c120235039.lua
+1
-1
script/c120261045.lua
script/c120261045.lua
+2
-1
No files found.
script/RDCondition.lua
View file @
41add2b1
-- Rush Duel 条件
-- Rush Duel 条件
RushDuel
=
RushDuel
or
{}
RushDuel
=
RushDuel
or
{}
-- 条件: 卡片是通常魔法卡
function
RushDuel
.
IsNormalSpell
(
card
)
return
card
:
GetType
()
==
TYPE_SPELL
or
card
:
GetType
()
==
TYPE_SPELL
+
TYPE_LEGEND
end
-- 条件: 卡片是否处于"极大模式"
-- 条件: 卡片是否处于"极大模式"
function
RushDuel
.
IsMaximumMode
(
card
)
function
RushDuel
.
IsMaximumMode
(
card
)
return
card
:
IsLocation
(
LOCATION_MZONE
)
and
card
:
IsSummonType
(
SUMMON_TYPE_MAXIMUM
)
and
card
:
GetOverlayCount
()
>
0
return
card
:
IsLocation
(
LOCATION_MZONE
)
and
card
:
IsSummonType
(
SUMMON_TYPE_MAXIMUM
)
and
card
:
GetOverlayCount
()
>
0
...
...
script/c120109048.lua
View file @
41add2b1
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
end
end
--To Hand
--To Hand
function
cm
.
exfilter
(
c
)
function
cm
.
exfilter
(
c
)
return
c
:
GetType
()
==
TYPE_SPELL
return
RD
.
IsNormalSpell
(
tc
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsFacedown
()
and
c
:
IsAbleToHand
()
return
c
:
IsFacedown
()
and
c
:
IsAbleToHand
()
...
...
script/c120235039.lua
View file @
41add2b1
...
@@ -20,6 +20,6 @@ end
...
@@ -20,6 +20,6 @@ end
--Cannot Activate
--Cannot Activate
function
cm
.
limit
(
e
,
re
,
tp
)
function
cm
.
limit
(
e
,
re
,
tp
)
local
tc
=
re
:
GetHandler
()
local
tc
=
re
:
GetHandler
()
return
not
tc
:
IsCode
(
list
[
3
])
and
tc
:
GetType
()
==
TYPE_SPELL
return
not
tc
:
IsCode
(
list
[
3
])
and
RD
.
IsNormalSpell
(
tc
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
end
end
\ No newline at end of file
script/c120261045.lua
View file @
41add2b1
...
@@ -46,5 +46,6 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,5 +46,6 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
)
end
)
end
end
function
cm
.
aclimit
(
e
,
re
,
tp
,
chk
)
function
cm
.
aclimit
(
e
,
re
,
tp
,
chk
)
return
re
:
GetHandler
():
GetType
()
==
TYPE_SPELL
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
return
RD
.
IsNormalSpell
(
re
:
GetHandler
())
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
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