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
b3d2d003
Commit
b3d2d003
authored
Dec 19, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9b3d5773
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
script/c100259029.lua
script/c100259029.lua
+1
-1
script/c100259037.lua
script/c100259037.lua
+4
-4
No files found.
script/c100259029.lua
View file @
b3d2d003
...
...
@@ -50,7 +50,7 @@ function c100259029.spcon2(e,tp,eg,ep,ev,re,r,rp)
end
function
c100259029
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
93717133
)
and
(
Duel
.
GetLocation
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
Duel
.
GetLocation
Count
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
(
Duel
.
IsExistingMatchingCard
(
c100259029
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
c
:
IsCanOverlay
()))
end
function
c100259029
.
matfilter
(
c
)
...
...
script/c100259037.lua
View file @
b3d2d003
...
...
@@ -107,17 +107,17 @@ function c100259037.effop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
100259037
,
5
))
Duel
.
RegisterFlagEffect
(
tp
,
100259037
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c100259037
.
desfilter
(
c
,
tp
)
function
c100259037
.
desfilter
3
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c100259037
.
tdfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
c
)
end
function
c100259037
.
tdfilter
(
c
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsSetCard
(
0xae
)
and
c
:
IsAbleToDeck
()
end
function
c100259037
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c100259037
.
desfilter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c100259037
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c100259037
.
desfilter
3
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c100259037
.
desfilter
3
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c100259037
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c100259037
.
desfilter
3
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c100259037
.
tdfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
...
...
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