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
b777dfa5
Commit
b777dfa5
authored
Dec 20, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ac0d50f6
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
24 additions
and
25 deletions
+24
-25
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100259041.lua
script/c100259041.lua
+3
-4
script/c100260001.lua
script/c100260001.lua
+1
-1
script/c100260002.lua
script/c100260002.lua
+5
-12
script/c100260003.lua
script/c100260003.lua
+4
-1
script/c100260014.lua
script/c100260014.lua
+2
-0
script/c100260018.lua
script/c100260018.lua
+1
-1
script/c100262001.lua
script/c100262001.lua
+1
-1
script/c101012022.lua
script/c101012022.lua
+3
-2
script/c101012042.lua
script/c101012042.lua
+1
-1
script/c101012046.lua
script/c101012046.lua
+1
-1
script/c101012069.lua
script/c101012069.lua
+2
-1
No files found.
expansions/pre-release.cdb
View file @
b777dfa5
No preview for this file type
script/c100259041.lua
View file @
b777dfa5
...
...
@@ -37,9 +37,9 @@ function c100259041.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
end
Duel
.
PayLPCost
(
tp
,
1000
)
end
function
c100259041
.
cfilter
(
c
,
e
,
tp
)
function
c100259041
.
cfilter
(
c
,
e
,
tp
,
mc
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsLinkBelow
(
3
)
and
not
c
:
IsCode
(
100259041
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
c100259041
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
...
@@ -52,8 +52,7 @@ function c100259041.drop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
and
Duel
.
GetLP
(
tp
)
<=
2000
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToRemove
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c100259041
.
cfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c100259041
.
cfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100259041
,
1
))
then
Duel
.
BreakEffect
()
if
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_REMOVED
)
then
...
...
script/c100260001.lua
View file @
b777dfa5
--
钢
鋼鉄の魔導騎士-ギルティギア・フリード
--鋼鉄の魔導騎士-ギルティギア・フリード
--Scripted by mallu11
function
c100260001
.
initial_effect
(
c
)
...
...
script/c100260002.lua
View file @
b777dfa5
...
...
@@ -10,7 +10,6 @@ function c100260002.initial_effect(c)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
100260002
)
e1
:
SetTarget
(
c100260002
.
regtg
)
e1
:
SetOperation
(
c100260002
.
regop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
...
...
@@ -28,15 +27,6 @@ function c100260002.initial_effect(c)
e3
:
SetOperation
(
c100260002
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
c100260002
.
thfilter1
(
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
end
function
c100260002
.
thfilter2
(
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToHand
()
end
function
c100260002
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100260002
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
function
c100260002
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -47,13 +37,16 @@ function c100260002.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c100260002
.
thfilter
(
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToHand
()
end
function
c100260002
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c100260002
.
thfilter
2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c100260002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c100260002
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
100260002
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100260002
.
thfilter
2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100260002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
script/c100260003.lua
View file @
b777dfa5
...
...
@@ -10,7 +10,9 @@ function c100260003.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
100260003
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
100260003
)
e1
:
SetCondition
(
c100260003
.
atkcon
)
...
...
@@ -40,7 +42,8 @@ function c100260003.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c100260003
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
and
(
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
function
c100260003
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
script/c100260014.lua
View file @
b777dfa5
...
...
@@ -9,6 +9,7 @@ function c100260014.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
100260014
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCost
(
c100260014
.
cost
)
e1
:
SetTarget
(
c100260014
.
target
)
e1
:
SetOperation
(
c100260014
.
activate
)
...
...
@@ -16,6 +17,7 @@ function c100260014.initial_effect(c)
end
function
c100260014
.
costfilter
(
c
,
tp
)
return
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
and
c
:
IsAttackAbove
(
2000
)
and
not
c
:
IsCode
(
93717133
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
IsExistingTarget
(
c100260014
.
rfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
c
)
end
function
c100260014
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
...
...
script/c100260018.lua
View file @
b777dfa5
...
...
@@ -4,7 +4,7 @@
function
c100260018
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
script/c100262001.lua
View file @
b777dfa5
...
...
@@ -33,7 +33,7 @@ function c100262001.lvfilter(c)
end
function
c100262001
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100262001
.
lvfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
and
e
:
GetHandler
():
IsLevelAbove
(
1
)
end
and
e
:
GetHandler
():
IsLevelAbove
(
1
)
and
e
:
GetHandler
():
IsRelateToEffect
(
e
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
)
end
function
c100262001
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101012022.lua
View file @
b777dfa5
...
...
@@ -29,12 +29,12 @@ function c101012022.initial_effect(c)
end
function
c101012022
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsAbleToGrave
()
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
2
,
c
)
end
function
c101012022
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c101012022
.
tgfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101012022
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101012022
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
2
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c101012022
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
...
...
@@ -45,6 +45,7 @@ function c101012022.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
2
,
2
,
nil
)
if
g
:
GetCount
()
==
2
then
Duel
.
HintSelection
(
g
)
local
tc1
=
g
:
GetFirst
()
local
tc2
=
g
:
GetNext
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c101012042.lua
View file @
b777dfa5
...
...
@@ -46,7 +46,7 @@ function c101012042.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_REMOVED
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
LOCATION_DECK
)
end
function
c101012042
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
script/c101012046.lua
View file @
b777dfa5
...
...
@@ -42,7 +42,7 @@ function c101012046.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
mg
:
GetCount
()
<
1
then
return
false
end
if
chkc
then
return
mg
:
IsContains
(
chkc
)
and
c101012046
.
atkfilter
(
chkc
,
e
)
end
if
chk
==
0
then
return
mg
:
IsExists
(
c101012046
.
atkfilter
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
SELEC
T
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
TARGE
T
)
local
g
=
mg
:
FilterSelect
(
tp
,
c101012046
.
atkfilter
,
1
,
1
,
nil
,
e
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetChainLimit
(
c101012046
.
chainlm
)
...
...
script/c101012069.lua
View file @
b777dfa5
...
...
@@ -77,7 +77,8 @@ function c101012069.tfcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
att
,
att
-
1
)
~=
0
end
function
c101012069
.
tffilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0x137
)
and
not
c
:
IsCode
(
101012069
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0x137
)
and
not
c
:
IsCode
(
101012069
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
function
c101012069
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
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