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
4f4a84a4
Commit
4f4a84a4
authored
Feb 12, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix &update ci
parent
4d253bfc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
42 deletions
+45
-42
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
expansions/script/c18700388.lua
expansions/script/c18700388.lua
+1
-1
expansions/script/c18700468.lua
expansions/script/c18700468.lua
+7
-4
expansions/script/c23100119.lua
expansions/script/c23100119.lua
+31
-31
expansions/script/c23100122.lua
expansions/script/c23100122.lua
+3
-3
expansions/script/c79100340.lua
expansions/script/c79100340.lua
+2
-2
No files found.
.gitlab-ci.yml
View file @
4f4a84a4
...
...
@@ -84,6 +84,6 @@ upload_to_minio:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
cp dist/archive/ygopro-FiNALE-DIY-cards.zip dist/archive/ygopro-FiNALE-DIY-cards-$CURRENT_UPDATE_DATE.zip
-
cp dist/archive/ygopro-FiNALE-DIY-update.zip dist/archive/ygopro-FiNALE-DIY-update-$CURRENT_UPDATE_DATE.zip
-
aws s3 --endpoint=https://
minio.moenext.com:9000
sync dist/ s3://mycard/ygopro-222DIY > /dev/null
-
aws s3 --endpoint=https://
cdn02.moenext.com
sync dist/ s3://mycard/ygopro-222DIY > /dev/null
only
:
-
master
expansions/script/c18700388.lua
View file @
4f4a84a4
...
...
@@ -27,7 +27,7 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_
MZON
E
)
e3
:
SetRange
(
LOCATION_
GRAV
E
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetCountLimit
(
1
,
m
+
2
)
...
...
expansions/script/c18700468.lua
View file @
4f4a84a4
...
...
@@ -84,11 +84,14 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_SZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
g
:
GetFirst
()
local
at
=
Duel
.
GetAttacker
()
if
at
:
IsAttackable
()
and
not
at
:
IsImmuneToEffect
(
e
)
then
Duel
.
CalculateDamage
(
at
,
tc
)
local
ph
=
Duel
.
GetCurrentPhase
()
if
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
local
at
=
Duel
.
GetAttacker
()
if
at
:
IsAttackable
()
and
not
at
:
IsImmuneToEffect
(
e
)
then
Duel
.
CalculateDamage
(
at
,
tc
)
end
end
end
end
...
...
expansions/script/c23100119.lua
View file @
4f4a84a4
...
...
@@ -2,12 +2,12 @@
function
c23100119
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--Cannot special summon
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e
1
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e
1
)
local
e
0
=
Effect
.
CreateEffect
(
c
)
e
0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e
0
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e
0
)
--add counter
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
23100119
,
0
))
...
...
@@ -27,34 +27,34 @@ function c23100119.initial_effect(c)
e2
:
SetValue
(
c23100119
.
atkfilter
)
c
:
RegisterEffect
(
e2
)
--indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
23100081
,
23100097
))
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
c
:
RegisterEffect
(
e3
)
--immune
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_
SINGLE
)
e3
:
Set
Property
(
EFFECT_FLAG_SINGLE_RANG
E
)
e3
:
SetType
(
EFFECT_TYPE_
FIELD
)
e3
:
Set
Code
(
EFFECT_INDESTRUCTABLE_BATTL
E
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetValue
(
c23100119
.
efilter
)
e3
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
23100081
,
23100097
))
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetOperation
(
c23100119
.
bgmop
)
c
:
RegisterEffect
(
e1
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e3
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
c
:
RegisterEffect
(
e5
)
--immune
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e6
:
SetValue
(
c23100119
.
efilter
)
c
:
RegisterEffect
(
e6
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e7
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e7
:
SetOperation
(
c23100119
.
bgmop
)
c
:
RegisterEffect
(
e7
)
end
function
c23100119
.
bgmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
23100119
,
0
))
...
...
expansions/script/c23100122.lua
View file @
4f4a84a4
...
...
@@ -56,13 +56,13 @@ function c23100122.spfilter2(c,e,tp)
end
function
c23100122
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c23100122
.
spfilter2
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
and
Duel
.
IsExistingMatchingCard
(
c23100122
.
spfilter2
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
)
end
function
c23100122
.
spop2
(
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
(
c23100122
.
spfilter2
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c23100122
.
spfilter2
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
expansions/script/c79100340.lua
View file @
4f4a84a4
...
...
@@ -3,11 +3,11 @@ function c79100340.initial_effect(c)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
79100260
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x3a11
),
1
,
true
,
true
)
aux
.
EnableChangeCode
(
c
,
79100260
,
LOCATION_MZONE
+
LOCATION_
REMOVED
)
aux
.
EnableChangeCode
(
c
,
79100260
,
LOCATION_MZONE
+
LOCATION_
GRAVE
)
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
79100340
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_
GRA
VE
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_
REMO
VE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
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