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
019a33f9
Commit
019a33f9
authored
Jul 23, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6540963f
Pipeline
#14755
passed with stages
in 26 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
script/c100313026.lua
script/c100313026.lua
+1
-1
script/c101110023.lua
script/c101110023.lua
+1
-0
script/c101110030.lua
script/c101110030.lua
+2
-2
script/c101110040.lua
script/c101110040.lua
+2
-2
script/c101110047.lua
script/c101110047.lua
+1
-1
script/c101110050.lua
script/c101110050.lua
+1
-1
No files found.
script/c100313026.lua
View file @
019a33f9
...
...
@@ -77,7 +77,7 @@ function s.drcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
,
REASON_EFFECT
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
REASON_EFFECT
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
end
...
...
script/c101110023.lua
View file @
019a33f9
...
...
@@ -56,6 +56,7 @@ function c101110023.srtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c101110023
.
srop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
oc
=
Duel
.
GetFirstMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
if
not
oc
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c101110023
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
oc
):
GetFirst
()
if
tc
and
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
...
...
script/c101110030.lua
View file @
019a33f9
...
...
@@ -62,8 +62,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
s
.
dcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
function
s
.
dcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
e
:
GetHandlerPlayer
()
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
s
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
...
...
script/c101110040.lua
View file @
019a33f9
...
...
@@ -48,8 +48,8 @@ end
function
s
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
c
:
IsFusionSetCard
(
0x2b
)
and
(
not
sg
or
not
sg
:
IsExists
(
Card
.
IsRace
,
1
,
c
,
c
:
GetRace
()))
end
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsPosition
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
POS_FACEDOWN_DEFENSE
)
function
s
.
atkcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsPosition
,
e
:
GetHandlerPlayer
()
,
LOCATION_MZONE
,
0
,
1
,
nil
,
POS_FACEDOWN_DEFENSE
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
...
...
script/c101110047.lua
View file @
019a33f9
...
...
@@ -53,7 +53,7 @@ function s.tdcost(e,tp,eg,ep,ev,re,r,rp,chk)
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
s
.
tdfilter
(
c
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToDeck
()
return
c
:
IsAbleToDeck
()
end
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
s
.
tdfilter
(
chkc
)
end
...
...
script/c101110050.lua
View file @
019a33f9
...
...
@@ -32,7 +32,7 @@ function c101110050.initial_effect(c)
end
function
c101110050
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
chk
==
0
then
return
#
g
>
0
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
end
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
PLAYER_ALL
,
LOCATION_REMOVED
)
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