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
eab0f8a3
Commit
eab0f8a3
authored
Dec 02, 2023
by
chronogenexx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix REASON_EFFECT
parent
cce20913
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
c14644902.lua
c14644902.lua
+2
-2
c97342942.lua
c97342942.lua
+1
-1
No files found.
c14644902.lua
View file @
eab0f8a3
...
@@ -25,7 +25,7 @@ function c14644902.rfilter2(c,tp)
...
@@ -25,7 +25,7 @@ function c14644902.rfilter2(c,tp)
end
end
function
c14644902
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14644902
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rg
=
Duel
.
SelectReleaseGroup
(
REASON_
COS
T
,
tp
,
c14644902
.
rfilter
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
e
,
tp
)
local
rg
=
Duel
.
SelectReleaseGroup
(
REASON_
EFFEC
T
,
tp
,
c14644902
.
rfilter
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
e
,
tp
)
if
Duel
.
Release
(
rg
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Release
(
rg
,
REASON_EFFECT
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c14644902
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c14644902
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
@@ -47,7 +47,7 @@ function c14644902.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c14644902.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
if
#
rg
==
0
then
if
#
rg
==
0
then
rg
=
Duel
.
SelectReleaseGroup
(
REASON_
COS
T
,
tp
,
c14644902
.
rfilter2
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
tp
)
rg
=
Duel
.
SelectReleaseGroup
(
REASON_
EFFEC
T
,
tp
,
c14644902
.
rfilter2
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
tp
)
if
#
rg
>
0
then
if
#
rg
>
0
then
Duel
.
Release
(
rg
,
REASON_EFFECT
)
Duel
.
Release
(
rg
,
REASON_EFFECT
)
end
end
...
...
c97342942.lua
View file @
eab0f8a3
...
@@ -31,7 +31,7 @@ function c97342942.rfilter(c,e)
...
@@ -31,7 +31,7 @@ function c97342942.rfilter(c,e)
end
end
function
c97342942
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97342942
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rg
=
Duel
.
SelectReleaseGroup
(
REASON_
COS
T
,
tp
,
c97342942
.
rfilter
,
1
,
1
,
e
:
GetHandler
(),
e
)
local
rg
=
Duel
.
SelectReleaseGroup
(
REASON_
EFFEC
T
,
tp
,
c97342942
.
rfilter
,
1
,
1
,
e
:
GetHandler
(),
e
)
if
Duel
.
Release
(
rg
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Release
(
rg
,
REASON_EFFECT
)
>
0
then
local
atk
=
math.floor
(
rg
:
GetFirst
():
GetBaseAttack
()
/
2
)
local
atk
=
math.floor
(
rg
:
GetFirst
():
GetBaseAttack
()
/
2
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
...
...
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