Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
71c594b6
Commit
71c594b6
authored
Aug 22, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
423d0090
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
script/c100312053.lua
script/c100312053.lua
+2
-1
script/c100417017.lua
script/c100417017.lua
+1
-1
No files found.
script/c100312053.lua
View file @
71c594b6
...
...
@@ -83,8 +83,9 @@ function c100312053.activate(e,tp,eg,ep,ev,re,r,rp)
resolve
=
true
end
end
local
check
=
Duel
.
IsEnvironment
(
56433456
)
or
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
56433456
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c100312053
.
recfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
resolve
and
ct
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100312053
,
2
))
then
if
resolve
and
c
heck
and
c
t
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100312053
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
ct
*
500
,
REASON_EFFECT
)
end
...
...
script/c100417017.lua
View file @
71c594b6
...
...
@@ -72,7 +72,7 @@ function c100417017.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
1
-
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
end
function
c100417017
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
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