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
3
Issues
3
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
ca353f00
Commit
ca353f00
authored
Mar 27, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/3/27 抗性检测修改
parent
5f36267c
Pipeline
#26113
passed with stages
in 8 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
script/RDAttach.lua
script/RDAttach.lua
+1
-1
script/RDCondition.lua
script/RDCondition.lua
+2
-3
No files found.
script/RDAttach.lua
View file @
ca353f00
...
...
@@ -74,7 +74,7 @@ end
-- 赋予: 效果破坏抗性
function
RushDuel
.
AttachEffectIndes
(
e
,
card
,
value
,
desc
,
reset
,
forced
)
local
attach
=
RushDuel
.
CreateSingleEffect
(
e
,
desc
,
card
,
EFFECT_INDESTRUCTABLE_EFFECT
,
value
,
reset
,
forced
)
attach
:
Set
Label
(
e
:
GetHandlerPlayer
()
+
1
)
attach
:
Set
OwnerPlayer
(
e
:
GetHandlerPlayer
()
)
return
attach
end
-- 赋予: 战斗, 效果破坏抗性 (有次数限制)
...
...
script/RDCondition.lua
View file @
ca353f00
...
...
@@ -163,9 +163,8 @@ function RushDuel.IsCanAttachBattleIndes(card, value)
end
-- 条件: 可否赋予效果 - 效果破坏抗性
function
RushDuel
.
IsCanAttachEffectIndes
(
card
,
player
,
value
)
local
swap
=
card
:
GetOwner
()
~=
player
local
values
=
RushDuel
.
GetEffectValues
(
card
,
EFFECT_INDESTRUCTABLE_EFFECT
)
return
RushDuel
.
CheckValueEffectIndesType
(
swap
,
values
,
value
)
local
effects
=
RushDuel
.
GetAttachEffects
(
card
,
EFFECT_INDESTRUCTABLE_EFFECT
)
return
RushDuel
.
CheckValueEffectIndesType
(
player
,
effects
,
value
)
end
-- 条件: 可否赋予效果 - 永续效果无效化
function
RushDuel
.
IsCanAttachDisableContinuous
(
card
)
...
...
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