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
ac0d50f6
Commit
ac0d50f6
authored
Dec 19, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b3d2d003
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
script/c100259005.lua
script/c100259005.lua
+1
-1
script/c100259029.lua
script/c100259029.lua
+3
-2
script/c100260020.lua
script/c100260020.lua
+1
-0
script/c101012073.lua
script/c101012073.lua
+1
-1
No files found.
script/c100259005.lua
View file @
ac0d50f6
...
@@ -79,7 +79,7 @@ function c100259005.thop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,7 @@ function c100259005.thop2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c100259005
.
atkfilter
(
c
)
function
c100259005
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
Below
(
8
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
Above
(
8
)
and
c
:
IsRace
(
RACE_DRAGON
)
end
end
function
c100259005
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100259005
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100259005
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100259005
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
script/c100259029.lua
View file @
ac0d50f6
...
@@ -67,14 +67,15 @@ function c100259029.atkfilter(c)
...
@@ -67,14 +67,15 @@ function c100259029.atkfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
c100259029
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100259029
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100259029
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100259029
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
res
=
0
local
res
=
0
if
tc
then
if
tc
then
if
Duel
.
IsExistingMatchingCard
(
c100259029
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
tc
:
IsCanOverlay
()
if
Duel
.
IsExistingMatchingCard
(
c100259029
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
tc
:
IsCanOverlay
()
and
(
not
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
Duel
.
GetLocation
(
tp
,
LOCATION_MZONE
)
<=
0
or
Duel
.
SelectOption
(
tp
,
1190
,
aux
.
Stringid
(
100259029
,
2
))
==
1
)
then
and
(
not
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
Duel
.
SelectOption
(
tp
,
1152
,
aux
.
Stringid
(
100259029
,
2
))
==
1
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c100259029
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c100259029
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Overlay
(
sg
:
GetFirst
(),
Group
.
FromCards
(
tc
))
Duel
.
Overlay
(
sg
:
GetFirst
(),
Group
.
FromCards
(
tc
))
...
...
script/c100260020.lua
View file @
ac0d50f6
...
@@ -42,6 +42,7 @@ function c100260020.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -42,6 +42,7 @@ function c100260020.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c100260020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100260020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
script/c101012073.lua
View file @
ac0d50f6
...
@@ -4,7 +4,7 @@ function c101012073.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c101012073.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetCondition
(
c101012073
.
condition
)
e1
:
SetCondition
(
c101012073
.
condition
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--maintain
--maintain
...
...
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