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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
02e2db51
Commit
02e2db51
authored
Apr 29, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
31
parent
0b1b2306
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
13 deletions
+31
-13
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c128027.lua
expansions/script/c128027.lua
+2
-3
expansions/script/c22000110.lua
expansions/script/c22000110.lua
+5
-5
expansions/script/c81009049.lua
expansions/script/c81009049.lua
+2
-2
expansions/script/c81011009.lua
expansions/script/c81011009.lua
+3
-3
expansions/script/c81068008.lua
expansions/script/c81068008.lua
+19
-0
No files found.
expansions/222DIY.cdb
View file @
02e2db51
No preview for this file type
expansions/script/c128027.lua
View file @
02e2db51
...
...
@@ -71,7 +71,6 @@ function cm.ssop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
end
end
function
tc
.
splimit
(
e
,
c
)
function
cm
.
splimit
(
e
,
c
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
\ No newline at end of file
end
expansions/script/c22000110.lua
View file @
02e2db51
--圣律·露泽莫尔
Duel
.
LoadScript
(
"c22000000.lua"
)
function
22000110.
initial_effect
(
c
)
function
c
22000110
.
initial_effect
(
c
)
wco
.
slp
(
c
,
22000110
)
wco
.
snp3
(
c
,
22000110
)
--recover
...
...
@@ -10,10 +10,10 @@ function 22000110.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
22000111
)
e1
:
SetOperation
(
22000110
.
lvop
)
e1
:
SetOperation
(
c
22000110
.
lvop
)
c
:
RegisterEffect
(
e1
)
end
function
22000110.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
22000110
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
lv
=
c
:
GetLevel
()
local
alv
=
11
...
...
@@ -44,10 +44,10 @@ function 22000110.lvop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_DISABLE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetTarget
(
22000110
.
distg
)
e3
:
SetTarget
(
c
22000110
.
distg
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
function
22000110.
distg
(
e
,
c
)
function
c
22000110
.
distg
(
e
,
c
)
return
c
:
IsAttack
(
0
)
end
\ No newline at end of file
expansions/script/c81009049.lua
View file @
02e2db51
...
...
@@ -9,8 +9,8 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
cm
.
t
arget
)
e1
:
SetOperation
(
cm
.
activate
)
e1
:
SetTarget
(
cm
.
t
htg
)
e1
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
thfilter
(
c
)
...
...
expansions/script/c81011009.lua
View file @
02e2db51
...
...
@@ -10,8 +10,8 @@ function cm.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
c
39271553
.
sptg
)
e1
:
SetOperation
(
c
39271553
.
spop
)
e1
:
SetTarget
(
c
m
.
sptg
)
e1
:
SetOperation
(
c
m
.
spop
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
1527419
)
e2
:
SetCountLimit
(
1
,
m
+
900
)
e2
:
SetCondition
(
cm
.
negcon
)
e2
:
SetCost
(
cm
.
negcost
)
e2
:
SetTarget
(
cm
.
negtg
)
...
...
expansions/script/c81068008.lua
View file @
02e2db51
...
...
@@ -62,3 +62,22 @@ end
function
cm
.
splimit
(
e
,
c
)
return
not
c
:
IsRace
(
RACE_CYBERSE
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x817
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousControler
(
tp
)
and
rp
==
1
-
tp
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
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
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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