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
d8045d41
Commit
d8045d41
authored
Apr 15, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ladies and xiangqinmen
parent
a459da48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
expansions/script/c33500303.lua
expansions/script/c33500303.lua
+1
-0
expansions/script/c65050250.lua
expansions/script/c65050250.lua
+3
-3
expansions/script/c65072005.lua
expansions/script/c65072005.lua
+3
-5
No files found.
expansions/script/c33500303.lua
View file @
d8045d41
...
@@ -18,6 +18,7 @@ function cm.initial_effect(c)
...
@@ -18,6 +18,7 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetOperation
(
cm
.
operation
)
e2
:
SetOperation
(
cm
.
operation
)
...
...
expansions/script/c65050250.lua
View file @
d8045d41
...
@@ -56,16 +56,16 @@ function c65050250.pop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,16 +56,16 @@ function c65050250.pop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e3
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
c65050250
.
poptg
)
e3
:
SetTarget
(
c65050250
.
poptg
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
Duel
.
RegisterEffect
(
e3
,
tp
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
e1
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
e1
:
SetValue
(
3
)
e1
:
SetValue
(
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
e2
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
c
:
RegisterEffect
(
e2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c65050250
.
poptg
(
e
,
c
)
function
c65050250
.
poptg
(
e
,
c
)
return
c
:
IsSetCard
(
0x9da9
)
or
c
:
IsSetCard
(
0x5da9
)
return
c
:
IsSetCard
(
0x9da9
)
or
c
:
IsSetCard
(
0x5da9
)
...
...
expansions/script/c65072005.lua
View file @
d8045d41
...
@@ -74,15 +74,13 @@ function c65072005.tffilter(c,tp)
...
@@ -74,15 +74,13 @@ function c65072005.tffilter(c,tp)
return
aux
.
IsCodeListed
(
c
,
65072000
)
and
not
c
:
IsForbidden
()
and
c
:
IsType
(
TYPE_FIELD
)
return
aux
.
IsCodeListed
(
c
,
65072000
)
and
not
c
:
IsForbidden
()
and
c
:
IsType
(
TYPE_FIELD
)
end
end
function
c65072005
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072005
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65072005
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c65072005
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
end
end
function
c65072005
.
tfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072005
.
tfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c65072005
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c65072005
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
if
tc
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
F
ZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
tc
:
GetCode
(),
0
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
tc
:
GetCode
(),
0
))
end
end
end
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