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
c7ba980f
Commit
c7ba980f
authored
Aug 08, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
894d1252
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
expansions/script/c12080031.lua
expansions/script/c12080031.lua
+1
-1
expansions/script/c12080053.lua
expansions/script/c12080053.lua
+2
-1
expansions/script/c22100129.lua
expansions/script/c22100129.lua
+1
-1
expansions/script/c22100201.lua
expansions/script/c22100201.lua
+3
-1
No files found.
expansions/script/c12080031.lua
View file @
c7ba980f
...
@@ -53,7 +53,7 @@ function cm.exfilter(c)
...
@@ -53,7 +53,7 @@ function cm.exfilter(c)
return
c
:
IsSetCard
(
0xcfac
)
and
not
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0xcfac
)
and
not
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsFaceup
()
end
end
function
cm
.
imcon
(
e
)
function
cm
.
imcon
(
e
)
local
e
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
cm
.
efilter
(
e
,
te
)
function
cm
.
efilter
(
e
,
te
)
...
...
expansions/script/c12080053.lua
View file @
c7ba980f
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c12000000.lua")
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c12000000.lua")
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x
6fa8
),
1
,
1
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x
cfac
),
1
,
1
)
--cannot link material
--cannot link material
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -51,6 +51,7 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,6 +51,7 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
rc
:
CreateEffectRelation
(
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
rc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
rc
,
1
,
0
,
0
)
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c22100129.lua
View file @
c7ba980f
...
@@ -95,7 +95,7 @@ function cm.ssop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,7 +95,7 @@ function cm.ssop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetMatchingGroup
Count
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
1
-
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
1
-
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c22100201.lua
View file @
c7ba980f
...
@@ -18,7 +18,9 @@ function Suyu_Cjz_ms.hnegate(c,code,acttype,actloc)
...
@@ -18,7 +18,9 @@ function Suyu_Cjz_ms.hnegate(c,code,acttype,actloc)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
ep
==
tp
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
if
ep
==
tp
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
re
:
IsActiveType
(
acttype
)
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
GetActivateLocation
()
==
actloc
return
re
:
IsActiveType
(
acttype
)
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
GetActivateLocation
()
==
actloc
and
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0x8fb
)
end
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
)
end
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
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