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
Soulgamer
ygopro-222DIY-cards
Commits
3dfc4bb0
Commit
3dfc4bb0
authored
Jun 05, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
fab34f4d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
expansions/script/c16107100.lua
expansions/script/c16107100.lua
+6
-0
expansions/script/c16107107.lua
expansions/script/c16107107.lua
+2
-1
expansions/script/c33330410.lua
expansions/script/c33330410.lua
+2
-2
expansions/script/c33331557.lua
expansions/script/c33331557.lua
+1
-1
No files found.
expansions/script/c16107100.lua
View file @
3dfc4bb0
...
...
@@ -28,10 +28,16 @@ end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x5ccc
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
cm
.
nefilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsLevelAbove
(
10
)
or
c
:
IsRankAbove
(
10
))
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
2
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
nefilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c16107107.lua
View file @
3dfc4bb0
...
...
@@ -29,9 +29,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--indes
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_
SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_
FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e4
:
SetCondition
(
cm
.
econ
)
e4
:
SetValue
(
aux
.
tgoval
)
...
...
expansions/script/c33330410.lua
View file @
3dfc4bb0
...
...
@@ -60,10 +60,10 @@ function cm.fun(g,e,tp)
end
end
function
cm
.
thfilter
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x
4
552
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x
6
552
)
end
function
cm
.
thop
(
e
,
tp
)
rsof
.
SelectHint
(
tp
,
"th"
)
--
rsof.SelectHint(tp,"th")
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
#
tg
>
0
then
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
...
...
expansions/script/c33331557.lua
View file @
3dfc4bb0
...
...
@@ -34,7 +34,7 @@ function c33331557.tfilter2(c)
return
c
:
IsCode
(
33331554
)
and
not
c
:
IsForbidden
()
end
function
c33331557
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33331557
.
tfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
--
Duel.IsExistingMatchingCard(c33331557.tfilter2,tp,LOCATION_DECK,0,1,nil) end
end
function
c33331557
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
tp
=
e
:
GetHandlerPlayer
()
...
...
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