Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
REIKAI
ygopro-222DIY-cards
Commits
c37258b0
Commit
c37258b0
authored
Dec 08, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
a4d574a2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
12 deletions
+32
-12
expansions/script/c16400127.lua
expansions/script/c16400127.lua
+1
-1
expansions/script/c30015115.lua
expansions/script/c30015115.lua
+1
-1
expansions/script/c75600027.lua
expansions/script/c75600027.lua
+1
-1
expansions/script/c75600170.lua
expansions/script/c75600170.lua
+1
-1
expansions/script/c75600172.lua
expansions/script/c75600172.lua
+5
-5
expansions/script/c75600176.lua
expansions/script/c75600176.lua
+5
-3
expansions/script/c75600177.lua
expansions/script/c75600177.lua
+18
-0
No files found.
expansions/script/c16400127.lua
View file @
c37258b0
...
...
@@ -18,7 +18,7 @@ function s.initial_effect(c)
e3
:
SetValue
(
s
.
val
)
c
:
RegisterEffect
(
e3
)
--opp to hand
local
e
1
=
Effect
.
CreateEffect
(
c
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE_START
)
...
...
expansions/script/c30015115.lua
View file @
c37258b0
--
归墟仲裁 天卫
--
local
m
=
30015115
local
cm
=
_G
[
"c"
..
m
]
if
not
overuins
then
dofile
(
"expansions/script/c30015500.lua"
)
end
...
...
expansions/script/c75600027.lua
View file @
c37258b0
...
...
@@ -63,7 +63,7 @@ function c75600027.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c75600027
.
thfilter
(
c
)
return
c
:
IsCode
(
7560002
7
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
7560002
6
)
and
c
:
IsAbleToHand
()
end
function
c75600027
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c75600027
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c75600170.lua
View file @
c37258b0
...
...
@@ -61,7 +61,7 @@ function c75600170.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c75600170
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c75600170
.
thfilter
),
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c75600170
.
thfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
...
...
expansions/script/c75600172.lua
View file @
c37258b0
...
...
@@ -69,7 +69,7 @@ function c75600172.activate(e,tp,eg,ep,ev,re,r,rp)
if
ft
<=
0
then
return
end
if
ft
>=
ct1
then
ft
=
ct1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c75600172
.
spfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
ct1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c75600172
.
spfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
@@ -79,15 +79,15 @@ function c75600172.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
end
end
function
c75600172
.
spfilter
(
c
,
e
,
tp
)
function
c75600172
.
spfilter
1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x92c4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c75600172
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c75600172
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c75600172
.
spfilter
1
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c75600172
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
c75600172
.
spfilter
1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c75600172
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c75600172
.
spfilter
1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
c75600172
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c75600176.lua
View file @
c37258b0
...
...
@@ -21,16 +21,17 @@ function c75600176.initial_effect(c)
local
e2
=
e1
:
Clone
()
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetCondition
(
c75600176
.
qkcon
)
c
:
RegisterEffect
(
e2
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
75600176
,
1
))
e4
:
Set
Cod
e
(
EFFECT_TYPE_IGNITION
)
e4
:
SetDescription
(
aux
.
Stringid
(
75600176
,
1
))
e4
:
Set
Typ
e
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCondition
(
c75600176
.
tcon
)
e4
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e4
:
SetCountLimit
(
1
,
75600176
)
e4
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
or
c
:
IsImmuneToEffect
(
e
)
then
return
end
...
...
@@ -45,6 +46,7 @@ function c75600176.initial_effect(c)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e5
:
SetCondition
(
c75600176
.
qkcon1
)
e5
:
SetCountLimit
(
1
,
75600176
)
c
:
RegisterEffect
(
e5
)
if
not
c75600176
.
global_check
then
c75600176
.
global_check
=
true
...
...
expansions/script/c75600177.lua
View file @
c37258b0
...
...
@@ -72,6 +72,9 @@ end
function
c75600177
.
filter1
(
c
,
loc1
)
return
c
:
IsSetCard
(
0x92c4
)
and
c
:
IsPreviousLocation
(
loc1
)
and
c
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
end
function
c75600177
.
setfilter
(
c
)
return
c
:
IsCode
(
75600172
)
and
c
:
IsSSetable
()
end
function
c75600177
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetMatchingGroup
(
c75600177
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
)
local
sg
=
tg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
...
...
@@ -92,6 +95,21 @@ function c75600177.op(e,tp,eg,ep,ev,re,r,rp)
end
end
if
ct3
>
0
then
Duel
.
Damage
(
1
-
tp
,
ct3
*
500
,
REASON_EFFECT
)
end
if
Duel
.
IsExistingMatchingCard
(
c75600177
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
rg
=
Duel
.
SelectMatchingCard
(
tp
,
c75600177
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
rg
:
GetFirst
()
Duel
.
BreakEffect
()
if
tc
and
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
75600177
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_QP_ACT_IN_SET_TURN
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
end
function
c75600177
.
backon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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