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
1b5cf5aa
Commit
1b5cf5aa
authored
Oct 09, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d59c68c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
script/c101007024.lua
script/c101007024.lua
+1
-1
script/c101007028.lua
script/c101007028.lua
+1
-1
script/c101007077.lua
script/c101007077.lua
+6
-4
No files found.
script/c101007024.lua
View file @
1b5cf5aa
...
...
@@ -38,7 +38,7 @@ function c101007024.descon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
end
function
c101007024
.
desfilter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBel
l
ow
(
atk
-
1
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
-
1
)
end
function
c101007024
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
atk
=
e
:
GetHandler
():
GetReasonCard
():
GetAttack
()
...
...
script/c101007028.lua
View file @
1b5cf5aa
...
...
@@ -35,7 +35,7 @@ end
function
c101007028
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
g
=
eg
:
IsExists
(
c101007028
.
damfilter
,
1
,
nil
,
tp
)
local
g
=
eg
:
Filter
(
c101007028
.
damfilter
,
nil
,
tp
)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101007028
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELF
)
...
...
script/c101007077.lua
View file @
1b5cf5aa
...
...
@@ -48,9 +48,10 @@ function c101007077.activate(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetLabel
()
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c101007077
.
tgfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
if
g1
:
GetCount
()
>
0
and
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
~=
0
and
g1
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
local
tc1
=
g1
:
GetFirst
()
if
tc1
and
Duel
.
SendtoGrave
(
tc1
,
REASON_EFFECT
)
~=
0
and
tc1
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101007077
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
c
:
GetAttribute
(),
c
:
GetCode
())
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101007077
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc1
:
GetAttribute
(),
tc1
:
GetCode
())
if
g2
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g2
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
...
...
@@ -59,9 +60,10 @@ function c101007077.activate(e,tp,eg,ep,ev,re,r,rp)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c101007077
.
tgfilter2
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
if
g1
:
GetCount
()
>
0
and
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
~=
0
and
g1
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
local
tc1
=
g1
:
GetFirst
()
if
tc1
and
Duel
.
SendtoGrave
(
tc1
,
REASON_EFFECT
)
~=
0
and
tc1
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101007077
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
c
:
GetAttribute
(),
c
:
GetOriginalLevel
())
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101007077
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc1
:
GetAttribute
(),
tc1
:
GetOriginalLevel
())
if
g2
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g2
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
...
...
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