Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
26351e86
Commit
26351e86
authored
Jun 09, 2024
by
想象力很好的毛虫
Committed by
GitHub
Jun 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RR-ライジング・リベリオン・ファルコン (#2565)
parent
17a1416f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
c71222868.lua
c71222868.lua
+8
-3
No files found.
c71222868.lua
View file @
26351e86
...
@@ -56,9 +56,14 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -56,9 +56,14 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local
atk
=
g
:
GetSum
(
s
.
damval1
)
local
atk
=
g
:
GetSum
(
s
.
damval1
)
if
atk
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
end
if
atk
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
end
end
end
function
s
.
xfilter
(
c
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0xba
)
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
e
:
GetHandler
():
GetOverlayGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_XYZ
):
GetClassCount
(
Card
.
GetCode
)
>=
3
then
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
GetOverlayGroup
():
Filter
(
s
.
xfilter
,
nil
):
GetClassCount
(
Card
.
GetCode
)
>=
3
then
local
dg
=
Duel
.
GetOperatedGroup
()
local
dg
=
Duel
.
GetOperatedGroup
()
local
atk
=
dg
:
GetSum
(
s
.
damval2
)
local
atk
=
dg
:
GetSum
(
s
.
damval2
)
if
atk
>
0
then
if
atk
>
0
then
...
@@ -68,7 +73,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +73,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
s
.
copycost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
copycost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -89,4 +94,4 @@ function s.copyop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,4 +94,4 @@ function s.copyop(e,tp,eg,ep,ev,re,r,rp)
local
code
=
tc
:
GetOriginalCode
()
local
code
=
tc
:
GetOriginalCode
()
local
cid
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
local
cid
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
end
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