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
8e502cd8
Commit
8e502cd8
authored
Nov 21, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
0566b065
Pipeline
#1393
passed with stages
in 48 minutes and 54 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
16 deletions
+18
-16
expansions/script/c12038000.lua
expansions/script/c12038000.lua
+13
-12
expansions/script/c12038014.lua
expansions/script/c12038014.lua
+1
-1
expansions/script/c12043030.lua
expansions/script/c12043030.lua
+2
-2
expansions/script/c33403504.lua
expansions/script/c33403504.lua
+2
-1
No files found.
expansions/script/c12038000.lua
View file @
8e502cd8
...
...
@@ -55,15 +55,16 @@ function srprzm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
srprzm
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsType
(
TYPE_FIELD
)
and
tc
:
IsPreviousLocation
(
LOCATION_FZONE
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
elseif
tc
:
IsType
(
TYPE_PENDULUM
)
and
tc
:
IsPreviousLocation
(
LOCATION_PZONE
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
else
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
end
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsType
(
TYPE_FIELD
)
and
tc
:
IsPreviousLocation
(
LOCATION_FZONE
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
elseif
tc
:
IsType
(
TYPE_PENDULUM
)
and
tc
:
IsPreviousLocation
(
LOCATION_PZONE
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
else
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
end
end
function
srprzm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
12038000
)
end
...
...
@@ -118,7 +119,7 @@ function cm.scop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
nil
)
e
:
GetHandler
():
RegisterFlagEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
+
100
,
4
))
e
:
GetHandler
():
RegisterFlagEffect
(
code
+
100
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
4
))
end
end
function
cm
.
xyzfilter
(
c
)
...
...
@@ -134,7 +135,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
XyzSummon
(
tp
,
tg
:
GetFirst
(),
nil
)
e
:
GetHandler
():
RegisterFlagEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
+
200
,
5
))
e
:
GetHandler
():
RegisterFlagEffect
(
code
+
200
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
5
))
end
end
function
cm
.
lkfilter
(
c
)
...
...
@@ -150,6 +151,6 @@ function cm.lkop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
LinkSummon
(
tp
,
tc
,
nil
)
e
:
GetHandler
():
RegisterFlagEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
+
300
,
6
))
e
:
GetHandler
():
RegisterFlagEffect
(
code
+
300
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
6
))
end
end
end
\ No newline at end of file
expansions/script/c12038014.lua
View file @
8e502cd8
...
...
@@ -4,7 +4,7 @@ local m=12038014
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
----synchro summon
aux
.
AddSynchroMixProcedure
(
c
,
aux
.
Tuner
(
nil
),
nil
,
nil
,
aux
.
NonTuner
(
nil
),
1
,
99
)
aux
.
AddSynchroMixProcedure
(
c
,
aux
.
Tuner
(
nil
),
aux
.
NonTuner
(
Card
.
IsSynchroType
,
TYPE_SYNCHRO
)
,
nil
,
aux
.
NonTuner
(
nil
),
1
,
99
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c12043030.lua
View file @
8e502cd8
...
...
@@ -73,10 +73,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
h2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
if
h1
<
1
or
h2
<
1
then
return
end
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
Hint
(
HINT_SELECTMSG
,
turnp
,
HINTMSG_
TOGRA
VE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
turnp
,
HINTMSG_
REMO
VE
)
local
g1
=
Duel
.
SelectMatchingCard
(
turnp
,
aux
.
TRUE
,
turnp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
turnp
,
g1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
turnp
,
HINTMSG_
TOGRA
VE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
turnp
,
HINTMSG_
REMO
VE
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
turnp
,
aux
.
TRUE
,
1
-
turnp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
expansions/script/c33403504.lua
View file @
8e502cd8
...
...
@@ -23,9 +23,10 @@ end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ss
=
Duel
.
GetTurnCount
()
local
ck
=
0
local
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
for
i
=
1
,
ev
do
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
te
:
GetHandler
():
IsSetCard
(
0x5349
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
if
te
:
GetHandler
():
IsSetCard
(
0x5349
)
or
(
tg
and
(
tg
:
IsExists
(
Card
.
IsOnField
,
1
,
nil
))
and
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
)
then
ck
=
1
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