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
c1a33136
Commit
c1a33136
authored
Jul 30, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
90331a1e
Pipeline
#15035
passed with stages
in 2 minutes and 29 seconds
Changes
10
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
28 additions
and
8 deletions
+28
-8
script/c100344016.lua
script/c100344016.lua
+2
-0
script/c100344017.lua
script/c100344017.lua
+5
-1
script/c100344032.lua
script/c100344032.lua
+1
-0
script/c100344034.lua
script/c100344034.lua
+3
-1
script/c100344051.lua
script/c100344051.lua
+3
-1
script/c101110008.lua
script/c101110008.lua
+1
-1
script/c101110015.lua
script/c101110015.lua
+1
-0
script/c101110040.lua
script/c101110040.lua
+4
-2
script/c101110075.lua
script/c101110075.lua
+7
-2
script/c101110079.lua
script/c101110079.lua
+1
-0
No files found.
script/c100344016.lua
View file @
c1a33136
...
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetLabel
(
0
)
e1
:
SetCost
(
s
.
cost
)
...
...
@@ -29,6 +30,7 @@ function s.hfilter(c)
end
function
s
.
sfilter
(
c
,
e
,
tp
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
and
c
:
IsSetCard
(
0x1034
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_SZONE
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100344017.lua
View file @
c1a33136
...
...
@@ -36,12 +36,14 @@ function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
end
function
s
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
+
o
,
0x1034
,
TYPES_TOKEN_MONSTER
,
tc
:
GetBaseAttack
(),
tc
:
GetBaseDefense
(),
tc
:
GetOriginalLevel
(),
tc
:
GetOriginalRace
(),
tc
:
GetOriginalAttribute
())
then
Duel
.
BreakEffect
()
local
tk
=
Duel
.
CreateToken
(
tp
,
id
+
o
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -87,5 +89,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
script/c100344032.lua
View file @
c1a33136
...
...
@@ -8,6 +8,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_RECOVER
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
s
.
sptg
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
script/c100344034.lua
View file @
c1a33136
...
...
@@ -65,7 +65,9 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
s
.
val
(
e
,
re
,
dam
)
return
dam
//
2
...
...
script/c100344051.lua
View file @
c1a33136
...
...
@@ -129,6 +129,8 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
if
#
sg
>
0
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
script/c101110008.lua
View file @
c1a33136
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCondition
(
s
.
condition
)
e3
:
SetTarget
(
s
.
target
)
e3
:
SetOperation
(
s
.
operation
)
...
...
script/c101110015.lua
View file @
c1a33136
...
...
@@ -43,6 +43,7 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
...
...
script/c101110040.lua
View file @
c1a33136
...
...
@@ -12,8 +12,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetValue
(
aux
.
fuslimit
)
e1
:
SetValue
(
s
.
splimit
)
c
:
RegisterEffect
(
e1
)
--direct attack
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -48,6 +47,9 @@ end
function
s
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
c
:
IsFusionSetCard
(
0x2b
)
and
(
not
sg
or
not
sg
:
IsExists
(
Card
.
IsRace
,
1
,
c
,
c
:
GetRace
()))
end
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
aux
.
fuslimit
(
e
,
se
,
sp
,
st
)
end
function
s
.
atkcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsPosition
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
POS_FACEDOWN_DEFENSE
)
end
...
...
script/c101110075.lua
View file @
c1a33136
...
...
@@ -8,6 +8,7 @@ function c101110075.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
101110075
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCost
(
c101110075
.
cost
)
e1
:
SetTarget
(
c101110075
.
target
)
...
...
@@ -19,10 +20,10 @@ function c101110075.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetHintTiming
(
0
,
TIMING_DRAW_PHASE
)
e2
:
SetCondition
(
c101110075
.
cacon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c101110075
.
catg
)
e2
:
SetOperation
(
c101110075
.
caop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -76,6 +77,9 @@ end
function
c101110075
.
cacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsLinkAbove
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
3
)
end
function
c101110075
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
101110075
)
==
0
end
end
function
c101110075
.
caop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -86,6 +90,7 @@ function c101110075.caop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
c101110075
.
aclimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
101110075
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c101110075
.
aclimit
(
e
,
re
,
tp
)
local
c
=
re
:
GetHandler
()
...
...
script/c101110079.lua
View file @
c1a33136
...
...
@@ -14,6 +14,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--Ritual Summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
...
...
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