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
2c287647
You need to sign in or sign up before continuing.
Commit
2c287647
authored
Oct 14, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b5d1d55c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c101007047.lua
script/c101007047.lua
+3
-3
script/c101007055.lua
script/c101007055.lua
+2
-2
script/c101007065.lua
script/c101007065.lua
+1
-0
script/c101007077.lua
script/c101007077.lua
+3
-3
No files found.
expansions/pre-release.cdb
View file @
2c287647
No preview for this file type
script/c101007047.lua
View file @
2c287647
...
...
@@ -56,7 +56,7 @@ function c101007047.spfilter3(c,e,tp,chkf)
return
res
end
function
c101007047
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
chkf
=
tp
local
chkf
=
PLAYER_NONE
if
chk
==
0
then
return
Duel
.
GetLocationCountFromEx
(
tp
,
e
:
GetHandler
())
>
0
and
Duel
.
IsExistingMatchingCard
(
c101007047
.
spfilter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
chkf
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
...
...
@@ -104,12 +104,12 @@ function c101007047.atkfilter(c)
end
function
c101007047
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_CYBERSE
)
and
Duel
.
IsExistingMatchingCard
(
c101007047
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
c101007047
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
end
function
c101007047
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c101007047
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
local
atk
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
*
400
local
atk
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
RACE_CYBERSE
)
*
400
local
tc
=
g
:
GetFirst
()
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c101007055.lua
View file @
2c287647
...
...
@@ -20,13 +20,13 @@ function c101007055.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetOperation
(
aux
.
chainreg
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e3
:
SetRange
(
LOCATION_
S
ZONE
)
e3
:
SetRange
(
LOCATION_
M
ZONE
)
e3
:
SetCondition
(
c101007055
.
reccon
)
e3
:
SetOperation
(
c101007055
.
recop
)
c
:
RegisterEffect
(
e3
)
...
...
script/c101007065.lua
View file @
2c287647
...
...
@@ -27,6 +27,7 @@ function c101007065.filter(c,e,tp,m,ft)
if
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
if
c
:
IsCode
(
21105106
)
then
return
c
:
ritual_custom_condition
(
mg
,
ft
)
end
if
ft
>
0
then
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
c
:
GetLevel
(),
c
)
else
...
...
script/c101007077.lua
View file @
2c287647
...
...
@@ -8,19 +8,19 @@ function c101007077.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
101007077
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetHintTiming
(
0
,
TIMING
S_CHECK_MONSTER
+
TIMING
_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetTarget
(
c101007077
.
target
)
e1
:
SetOperation
(
c101007077
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c101007077
.
tgfilter1
(
c
)
function
c101007077
.
tgfilter1
(
c
,
tp
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
and
Duel
.
IsExistingMatchingCard
(
c101007077
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetAttribute
(),
c
:
GetCode
())
end
function
c101007077
.
thfilter1
(
c
,
att
,
code
)
return
c
:
IsAttribute
(
att
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsType
(
TYPE_FLIP
)
and
c
:
IsAbleToHand
()
end
function
c101007077
.
tgfilter2
(
c
)
function
c101007077
.
tgfilter2
(
c
,
tp
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsType
(
TYPE_FLIP
)
and
c
:
IsAbleToGrave
()
and
Duel
.
IsExistingMatchingCard
(
c101007077
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetAttribute
(),
c
:
GetOriginalLevel
())
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