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
Ai
ygopro-222DIY-cards
Commits
5c72efd7
Commit
5c72efd7
authored
Mar 25, 2024
by
gggg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes from sayaka
parent
048be397
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
expansions/script/c18019001.lua
expansions/script/c18019001.lua
+4
-1
expansions/script/c18019006.lua
expansions/script/c18019006.lua
+1
-3
expansions/script/c18019051.lua
expansions/script/c18019051.lua
+10
-0
No files found.
expansions/script/c18019001.lua
View file @
5c72efd7
...
@@ -20,7 +20,10 @@ function cm.initial_effect(c)
...
@@ -20,7 +20,10 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCost
(
cm
.
cos1
)
e2
:
SetCost
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
)
e2
:
SetTarget
(
cm
.
tg2
)
e2
:
SetTarget
(
cm
.
tg2
)
e2
:
SetOperation
(
cm
.
op2
)
e2
:
SetOperation
(
cm
.
op2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c18019006.lua
View file @
5c72efd7
...
@@ -28,9 +28,7 @@ end
...
@@ -28,9 +28,7 @@ end
local
function
getDestroyGroup
(
e
)
local
function
getDestroyGroup
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
cg
=
c
:
GetColumnGroup
()
return
c
:
GetColumnGroup
()
-
c
cg
:
RemoveCard
(
c
)
return
cg
end
end
...
...
expansions/script/c18019051.lua
View file @
5c72efd7
...
@@ -5,6 +5,16 @@ Duel.LoadScript("c18019021.lua")
...
@@ -5,6 +5,16 @@ Duel.LoadScript("c18019021.lua")
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18019001
)
aux
.
AddCodeList
(
c
,
18019001
)
aux
.
EnableChangeCode
(
c
,
18019001
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
18019001
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
c
:
EnableReviveLimit
()
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e9
:
SetValue
(
function
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
0
or
Duel
.
GetMatchingGroup
(
function
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsType
(
TYPE_RITUAL
)
end
,
tp
,
LOCATION_GRAVE
,
0
,
nil
):
GetClassCount
(
Card
.
GetCode
)
>=
11
end
)
c
:
RegisterEffect
(
e9
)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DAMAGE
)
e6
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DAMAGE
)
...
...
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