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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
ad4f3a99
Commit
ad4f3a99
authored
Sep 21, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
cc225799
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/script/c12400085.lua
expansions/script/c12400085.lua
+2
-1
expansions/script/c21185825.lua
expansions/script/c21185825.lua
+3
-3
expansions/script/c21185848.lua
expansions/script/c21185848.lua
+1
-1
No files found.
expansions/script/c12400085.lua
View file @
ad4f3a99
...
...
@@ -52,7 +52,8 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
eg
:
GetFirst
()
while
tc
do
local
code
=
tc
:
GetOriginalCode
()
local
cg
=
Duel
.
GetMatchingGroup
(
s
.
ckfilter0
,
tp
,
0x70
,
0
,
nil
,
code
)
local
p
=
tc
:
GetPreviousControler
()
local
cg
=
Duel
.
GetMatchingGroup
(
s
.
ckfilter0
,
p
,
0x70
,
0
,
nil
,
code
)
local
cc
=
cg
:
GetFirst
()
while
cc
do
cc
:
RegisterFlagEffect
(
id
,
0
,
0
,
0
)
...
...
expansions/script/c21185825.lua
View file @
ad4f3a99
...
...
@@ -75,7 +75,7 @@ function c21185825.gf(c,lc,sg)
end
function
c21185825
.
LCheckGoal
(
sg
,
tp
,
lc
,
lmat
)
return
#
sg
>=
4
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
cl
,
sg
)
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
lc
,
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
...
...
@@ -85,12 +85,12 @@ function c21185825.LCheckGoal2(sg,tp,lc,lmat)
return
#
sg
==
1
and
sg
:
IsExists
(
c21185825
.
onlycheck
,
1
,
nil
,
lc
,
sg
)
or
#
sg
>=
4
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
cl
,
sg
)
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
lc
,
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
#
sg
==
sg
:
Filter
(
Card
.
IsLinkType
,
nil
)
and
#
sg
==
sg
:
Filter
(
Card
.
IsLinkType
,
nil
,
TYPE_EFFECT
):
GetCount
(
)
end
function
c21185825
.
linkcon
()
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
...
...
expansions/script/c21185848.lua
View file @
ad4f3a99
...
...
@@ -4,7 +4,7 @@ function c21185848.initial_effect(c)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_EFFECT
),
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_
BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_
EFFECT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
c21185848
.
tg
)
...
...
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