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
904dad57
Commit
904dad57
authored
Nov 14, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
01a054e5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100343041.lua
script/c100343041.lua
+1
-1
script/c100426005.lua
script/c100426005.lua
+1
-1
script/c100426006.lua
script/c100426006.lua
+2
-2
script/c100426017.lua
script/c100426017.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
904dad57
No preview for this file type
script/c100343041.lua
View file @
904dad57
...
...
@@ -51,7 +51,7 @@ function c100343041.rmop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_
COS
T
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_
EFFEC
T
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
100343041
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
2
)
end
...
...
script/c100426005.lua
View file @
904dad57
...
...
@@ -53,7 +53,7 @@ function c100426005.cpcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
end
function
c100426005
.
cpfilter
(
c
)
return
c
:
GetType
()
==
TYPE_SPELL
and
c
:
IsSetCard
(
0x277
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
GetType
()
==
TYPE_SPELL
and
(
c
:
IsSetCard
(
0x277
)
or
c
:
IsCode
(
57734012
)
)
and
c
:
IsAbleToGraveAsCost
()
and
c
:
CheckActivateEffect
(
true
,
true
,
false
)
~=
nil
end
function
c100426005
.
cptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100426006.lua
View file @
904dad57
...
...
@@ -25,8 +25,8 @@ function c100426006.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c100426006
.
filter
(
c
)
return
(
not
c
:
IsCode
(
100426006
)
and
c
:
IsSetCard
(
0x277
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
or
(
c
:
IsSetCard
(
0x278
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
return
(
not
c
:
IsCode
(
100426006
)
and
(
c
:
IsSetCard
(
0x277
)
or
c
:
IsCode
(
57734012
)
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
or
(
(
c
:
IsSetCard
(
0x278
)
or
c
:
IsCode
(
47660516
,
92365601
)
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
or
(
c
:
IsSetCard
(
0x95
)
and
c
:
IsType
(
TYPE_QUICKPLAY
))
end
function
c100426006
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100426017.lua
View file @
904dad57
...
...
@@ -41,7 +41,7 @@ end
c100426017
[
0
]
=
0
c100426017
[
1
]
=
0
function
c100426017
.
thfilter
(
c
)
return
(
c
:
IsCode
(
22702055
)
or
c
:
IsSetCard
(
0x275
,
0x276
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
and
c
:
IsAbleToHand
()
return
(
c
:
IsCode
(
22702055
)
or
c
:
IsSetCard
(
0x275
,
0x276
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
or
c
:
IsCode
(
82685480
,
98804359
,
19089195
)
)
and
c
:
IsAbleToHand
()
end
function
c100426017
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100426017
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
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