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
ae50058d
Commit
ae50058d
authored
Dec 02, 2023
by
chronogenexx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix & update REASON_RULE
parent
eab0f8a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
c56830749.lua
c56830749.lua
+6
-3
c96162588.lua
c96162588.lua
+4
-6
No files found.
c56830749.lua
View file @
ae50058d
...
@@ -15,9 +15,12 @@ function c56830749.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -15,9 +15,12 @@ function c56830749.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c56830749
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c56830749
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_
COST
,
1
-
tp
,
nil
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_
RULE
,
1
-
tp
,
nil
,
1
,
nil
)
end
end
end
function
c56830749
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56830749
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
1
-
tp
,
nil
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_RULE
,
1
-
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_RULE
,
1
-
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Release
(
g
,
REASON_RULE
,
1
-
tp
)
end
end
end
c96162588.lua
View file @
ae50058d
...
@@ -38,16 +38,14 @@ function c96162588.rlcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,16 +38,14 @@ function c96162588.rlcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c96162588
.
cfilter
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
return
eg
:
IsExists
(
c96162588
.
cfilter
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
end
end
function
c96162588
.
rltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c96162588
.
rltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
REASON_RULE
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_RULE
,
1
-
tp
,
nil
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
nil
,
1
,
1
-
tp
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
nil
,
1
,
1
-
tp
,
LOCATION_MZONE
)
end
end
function
c96162588
.
rlop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96162588
.
rlop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
1
-
tp
,
LOCATION_MZONE
,
0
,
nil
,
REASON_RULE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_RULE
,
1
-
tp
,
nil
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_RELEASE
)
Duel
.
HintSelection
(
g
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_RULE
,
1
-
tp
)
Duel
.
HintSelection
(
sg
)
Duel
.
Release
(
sg
,
REASON_RULE
,
1
-
tp
)
end
end
end
end
function
c96162588
.
desfilter
(
c
)
function
c96162588
.
desfilter
(
c
)
...
...
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