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
465d30db
Commit
465d30db
authored
Jul 26, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b128f90e
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
19 additions
and
15 deletions
+19
-15
script/c101010005.lua
script/c101010005.lua
+2
-2
script/c101010007.lua
script/c101010007.lua
+1
-1
script/c101010011.lua
script/c101010011.lua
+1
-1
script/c101010018.lua
script/c101010018.lua
+2
-2
script/c101010026.lua
script/c101010026.lua
+2
-2
script/c101010027.lua
script/c101010027.lua
+1
-0
script/c101010030.lua
script/c101010030.lua
+1
-1
script/c101010037.lua
script/c101010037.lua
+1
-1
script/c101010052.lua
script/c101010052.lua
+1
-0
script/c101010058.lua
script/c101010058.lua
+1
-0
script/c101010059.lua
script/c101010059.lua
+1
-1
script/c101010067.lua
script/c101010067.lua
+2
-1
script/c101010076.lua
script/c101010076.lua
+3
-3
No files found.
script/c101010005.lua
View file @
465d30db
...
...
@@ -63,7 +63,7 @@ function c101010005.thcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_LINK
end
function
c101010005
.
thfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAbleToHand
()
end
function
c101010005
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c101010005
.
thfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
@@ -73,7 +73,7 @@ function c101010005.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
c101010005
.
thfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c101010005
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c101010007.lua
View file @
465d30db
...
...
@@ -34,5 +34,5 @@ function c101010007.immcon(e)
return
Duel
.
IsExistingMatchingCard
(
c101010007
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c101010007
.
efilter
(
e
,
re
)
return
re
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
IsActivated
()
return
re
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
IsActivated
()
and
re
:
GetHandler
():
IsLinkBelow
(
3
)
end
script/c101010011.lua
View file @
465d30db
...
...
@@ -7,7 +7,7 @@ function c101010011.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
101010011
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_
DELAY
+
EFFECT_FLAG_
PLAYER_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
aux
.
gbspcon
)
e1
:
SetCost
(
c101010011
.
drcost
)
...
...
script/c101010018.lua
View file @
465d30db
...
...
@@ -40,7 +40,7 @@ function c101010018.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c101010018
.
cfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
GetPreviousControler
()
==
tp
end
function
c101010018
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101010018
.
cfilter
,
1
,
nil
,
tp
)
...
...
@@ -75,7 +75,7 @@ function c101010018.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
ct
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
1
-
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c101010018
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101010026.lua
View file @
465d30db
...
...
@@ -29,7 +29,7 @@ function c101010026.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c101010026
.
atkfilter1
(
c
)
return
c
:
Is
Rac
e
(
ATTRIBUTE_WATER
)
and
c
:
GetAttack
()
>
0
return
c
:
Is
Attribut
e
(
ATTRIBUTE_WATER
)
and
c
:
GetAttack
()
>
0
end
function
c101010026
.
atktg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c101010026
.
atkfilter1
(
chkc
)
end
...
...
@@ -50,7 +50,7 @@ function c101010026.atkop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c101010026
.
atkfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
Is
Rac
e
(
ATTRIBUTE_WATER
)
return
c
:
IsFaceup
()
and
c
:
Is
Attribut
e
(
ATTRIBUTE_WATER
)
end
function
c101010026
.
atktg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101010026
.
atkfilter2
(
chkc
)
end
...
...
script/c101010027.lua
View file @
465d30db
...
...
@@ -17,6 +17,7 @@ function c101010027.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DAMAGE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c101010027
.
damcon
)
...
...
script/c101010030.lua
View file @
465d30db
...
...
@@ -28,7 +28,7 @@ function c101010030.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
ct
*-
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
script/c101010037.lua
View file @
465d30db
...
...
@@ -8,7 +8,7 @@ function c101010037.initial_effect(c)
c
:
EnableReviveLimit
()
--counter
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
101010037
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
101010037
,
0
))
e1
:
SetCategory
(
CATEGORY_COUNTER
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
script/c101010052.lua
View file @
465d30db
...
...
@@ -41,6 +41,7 @@ function c101010052.activate(e,tp,eg,ep,ev,re,r,rp)
if
sc
then
sc
:
SetMaterial
(
Group
.
FromCards
(
tc
))
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_LINK
)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_LINK
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
sc
:
CompleteProcedure
()
end
...
...
script/c101010058.lua
View file @
465d30db
...
...
@@ -24,6 +24,7 @@ function c101010058.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
101010058
)
e3
:
SetCondition
(
c101010058
.
spcon
)
e3
:
SetTarget
(
c101010058
.
sptg
)
...
...
script/c101010059.lua
View file @
465d30db
...
...
@@ -37,7 +37,7 @@ function c101010059.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c101010059
.
cfilter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsSetCard
(
0xc9
)
return
c
:
IsFaceup
()
and
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsSetCard
(
0xc9
)
end
function
c101010059
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101010059
.
cfilter
,
1
,
nil
,
tp
)
...
...
script/c101010067.lua
View file @
465d30db
...
...
@@ -21,7 +21,8 @@ function c101010067.spfilter1(c,e,tp)
and
lk
>
0
and
Duel
.
IsExistingMatchingCard
(
c101010067
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
lk
)
end
function
c101010067
.
spfilter2
(
c
,
e
,
tp
,
lk
)
return
c
:
IsSetCard
(
0x12b
)
and
c
:
IsLink
(
lk
-
1
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x12b
)
and
c
:
GetLink
()
<
lk
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
end
function
c101010067
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c101010067
.
spfilter1
(
chkc
,
e
,
tp
)
end
...
...
script/c101010076.lua
View file @
465d30db
...
...
@@ -56,13 +56,13 @@ function c101010076.setfilter(c)
return
c
:
IsCode
(
96462121
,
22866836
)
and
c
:
IsSSetable
()
end
function
c101010076
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101010076
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101010076
.
setfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
function
c101010076
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101010076
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101010076
.
setfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
()
)
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
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