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
0d529d42
Commit
0d529d42
authored
Jun 20, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iidx goooooooooooooooold
parent
92e350a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
expansions/script/c33330080.lua
expansions/script/c33330080.lua
+1
-1
expansions/script/c33400114.lua
expansions/script/c33400114.lua
+1
-2
expansions/script/c65050064.lua
expansions/script/c65050064.lua
+2
-2
No files found.
expansions/script/c33330080.lua
View file @
0d529d42
...
...
@@ -47,7 +47,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
33330080
,
0
))
if
not
Duel
.
IsPlayerCanRemove
(
1
-
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_CANNOT_MSET
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_CANNOT_SSET
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tdfil
,
1
-
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
gc
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsFacedown
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
//
10
local
gc
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsFacedown
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
nil
)
//
10
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SET
)
local
sg
=
g
:
FilterSelect
(
1
-
tp
,
cm
.
tdfil
,
gc
,
gc
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
...
...
expansions/script/c33400114.lua
View file @
0d529d42
...
...
@@ -18,7 +18,7 @@ function c33400114.tfilter(c,e,tp)
end
function
c33400114
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x3341
)
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c33400114
.
tfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c33400114
.
tfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
function
c33400114
.
chkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3341
)
...
...
@@ -34,7 +34,6 @@ function c33400114.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c33400114
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c33400114
.
tfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
...
...
expansions/script/c65050064.lua
View file @
0d529d42
--醒觉-忆景
function
c65050064
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
6
,
2
,
c65050064
.
ovfilter
,
aux
.
Stringid
(
65050064
,
0
))
aux
.
AddXyzProcedure
(
c
,
nil
,
6
,
3
,
c65050064
.
ovfilter
,
aux
.
Stringid
(
65050064
,
0
))
c
:
EnableReviveLimit
()
--1
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -65,7 +65,7 @@ function c65050064.tg1f(c)
return
c
:
IsSetCard
(
0xada2
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c65050064
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
c65050064
.
tg1f
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
if
chkc
then
return
c65050064
.
tg1f
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c65050064
.
tg1f
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SelectTarget
(
tp
,
c65050064
.
tg1f
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
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