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
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
00014cbd
Commit
00014cbd
authored
Nov 27, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/11/27 bug修复
parent
240495f7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
script/RDAttach.lua
script/RDAttach.lua
+1
-1
script/RDValue.lua
script/RDValue.lua
+2
-2
script/c120151050.lua
script/c120151050.lua
+1
-1
script/c120183043.lua
script/c120183043.lua
+1
-0
script/c120199045.lua
script/c120199045.lua
+1
-1
No files found.
script/RDAttach.lua
View file @
00014cbd
...
...
@@ -45,7 +45,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
:
SetLabel
(
e
:
GetHandlerPlayer
())
attach
:
SetLabel
(
e
:
GetHandlerPlayer
()
+
1
)
return
attach
end
-- 赋予: 战斗, 效果破坏抗性 (有次数限制)
...
...
script/RDValue.lua
View file @
00014cbd
...
...
@@ -20,8 +20,8 @@ function RushDuel.ValueEffectIndesType(self_type, opponent_type, ignore)
return
ignore
or
false
,
s_type
or
0
,
o_type
or
0
end
local
tp
=
e
:
GetHandlerPlayer
()
if
e
:
GetLabel
()
~=
nil
then
tp
=
e
:
GetLabel
()
if
e
:
GetLabel
()
~=
0
then
tp
=
e
:
GetLabel
()
-
1
end
if
rp
==
tp
then
return
s_type
~=
0
and
re
:
IsActiveType
(
s_type
)
...
...
script/c120151050.lua
View file @
00014cbd
...
...
@@ -17,7 +17,7 @@ function cm.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
8
)
and
c
:
IsAbleToHand
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
bit
.
band
(
r
,
REASON_RULE
)
~=
0
return
ep
~=
tp
and
r
==
REASON_RULE
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
script/c120183043.lua
View file @
00014cbd
...
...
@@ -25,6 +25,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
RD
.
SelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
function
(
g
)
RD
.
AttachAtkDef
(
e
,
g
:
GetFirst
(),
-
500
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
2
),
HINTMSG_DESTROY
,
cm
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
function
(
sg
)
Duel
.
BreakEffect
()
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
)
end
)
...
...
script/c120199045.lua
View file @
00014cbd
...
...
@@ -29,6 +29,6 @@ end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
SelectAndSpecialSummon
(
aux
.
NecroValleyFilter
(
cm
.
filter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
POS_FACEUP
)
then
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
RD
.
AttachAtkDef
(
e
,
tc
,
-
800
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
DISABLE
+
RESET_
PHASE
+
PHASE_END
)
RD
.
AttachAtkDef
(
e
,
tc
,
-
800
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
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