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
7244cc1b
Commit
7244cc1b
authored
Feb 17, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fb22df53
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
16 deletions
+17
-16
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100200178.lua
script/c100200178.lua
+10
-10
script/c100310003.lua
script/c100310003.lua
+1
-1
script/c100310023.lua
script/c100310023.lua
+2
-0
script/c100414028.lua
script/c100414028.lua
+1
-1
script/c100414034.lua
script/c100414034.lua
+1
-0
script/c100414036.lua
script/c100414036.lua
+1
-0
script/c101011088.lua
script/c101011088.lua
+1
-3
script/c101101001.lua
script/c101101001.lua
+0
-1
No files found.
expansions/pre-release.cdb
View file @
7244cc1b
No preview for this file type
script/c100200178.lua
View file @
7244cc1b
...
@@ -14,16 +14,16 @@ function c100200178.initial_effect(c)
...
@@ -14,16 +14,16 @@ function c100200178.initial_effect(c)
e1
:
SetOperation
(
c100200178
.
spop
)
e1
:
SetOperation
(
c100200178
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--atk
--atk
local
e
1
=
Effect
.
CreateEffect
(
c
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
100200178
,
1
))
e
2
:
SetDescription
(
aux
.
Stringid
(
100200178
,
1
))
e
1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e
2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e
1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
1
:
SetRange
(
LOCATION_GRAVE
)
e
2
:
SetRange
(
LOCATION_GRAVE
)
e
1
:
SetCountLimit
(
1
,
100200278
)
e
2
:
SetCountLimit
(
1
,
100200278
)
e
1
:
SetCost
(
c100200178
.
atkcost
)
e
2
:
SetCost
(
c100200178
.
atkcost
)
e
1
:
SetTarget
(
c100200178
.
atktg
)
e
2
:
SetTarget
(
c100200178
.
atktg
)
e
1
:
SetOperation
(
c100200178
.
atkop
)
e
2
:
SetOperation
(
c100200178
.
atkop
)
c
:
RegisterEffect
(
e
1
)
c
:
RegisterEffect
(
e
2
)
end
end
function
c100200178
.
filter
(
c
)
function
c100200178
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
...
...
script/c100310003.lua
View file @
7244cc1b
...
@@ -15,7 +15,7 @@ function c100310003.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c100310003.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--spsummon2
--spsummon2
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
100310003
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
100310003
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
script/c100310023.lua
View file @
7244cc1b
...
@@ -31,6 +31,7 @@ end
...
@@ -31,6 +31,7 @@ end
function
c100310023
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100310023
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c100310023
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c100310023
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
2
end
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
2
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
end
function
c100310023
.
activate1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100310023
.
activate1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -56,6 +57,7 @@ end
...
@@ -56,6 +57,7 @@ end
function
c100310023
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100310023
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c100310023
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c100310023
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
2
end
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
2
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
end
function
c100310023
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100310023
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100414028.lua
View file @
7244cc1b
...
@@ -11,7 +11,7 @@ function c100414028.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c100414028.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
c100414028
.
tglimit
)
e2
:
SetTarget
(
c100414028
.
tglimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c100414034.lua
View file @
7244cc1b
...
@@ -43,6 +43,7 @@ function c100414034.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,6 +43,7 @@ function c100414034.activate(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100414034
,
2
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100414034
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
...
...
script/c100414036.lua
View file @
7244cc1b
...
@@ -7,6 +7,7 @@ function c100414036.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c100414036.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_DESTROY
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_DESTROY
+
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
100414036
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c100414036
.
condition
)
e1
:
SetCondition
(
c100414036
.
condition
)
e1
:
SetTarget
(
c100414036
.
target
)
e1
:
SetTarget
(
c100414036
.
target
)
e1
:
SetOperation
(
c100414036
.
activate
)
e1
:
SetOperation
(
c100414036
.
activate
)
...
...
script/c101011088.lua
View file @
7244cc1b
...
@@ -49,9 +49,7 @@ function c101011088.costfilter(c)
...
@@ -49,9 +49,7 @@ function c101011088.costfilter(c)
end
end
function
c101011088
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101011088
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101011088
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101011088
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
Duel
.
DiscardHand
(
tp
,
c101011088
.
costfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101011088
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c101011088
.
rmfilter
(
c
)
function
c101011088
.
rmfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToRemove
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToRemove
()
...
...
script/c101101001.lua
View file @
7244cc1b
...
@@ -9,7 +9,6 @@ function c101101001.initial_effect(c)
...
@@ -9,7 +9,6 @@ function c101101001.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetCondition
(
c101101001
.
ntcon
)
e1
:
SetCondition
(
c101101001
.
ntcon
)
e1
:
SetOperation
(
c101101001
.
ntop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--spsummon
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
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