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
e3571e99
Commit
e3571e99
authored
Jul 30, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
8c1ad568
Pipeline
#15047
passed with stages
in 33 minutes and 48 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
expansions/script/c12035001.lua
expansions/script/c12035001.lua
+1
-1
expansions/script/c12035011.lua
expansions/script/c12035011.lua
+5
-5
expansions/script/c12035022.lua
expansions/script/c12035022.lua
+3
-1
expansions/script/c12035023.lua
expansions/script/c12035023.lua
+2
-2
No files found.
expansions/script/c12035001.lua
View file @
e3571e99
...
...
@@ -56,7 +56,7 @@ end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
op
=
e
:
GetLabel
()
local
c
=
e
:
GetHandler
()
if
e
:
GetHandler
():
IsLocation
(
LOCATION_
H
AND
)
then
if
e
:
GetHandler
():
IsLocation
(
LOCATION_
M
AND
)
then
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
e
,
tp
,
c
)
end
else
if
chk
==
0
then
return
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
expansions/script/c12035011.lua
View file @
e3571e99
...
...
@@ -129,7 +129,7 @@ function cm.valcheck(e,c)
end
end
function
cm
.
tncon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_
SYNCHRO
)
and
e
:
GetLabel
()
==
1
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_
LINK
)
and
e
:
GetLabel
()
==
1
end
function
cm
.
tnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -162,7 +162,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
not
ct
or
ct
<
2
end
function
cm
.
efilter
(
e
,
te
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
return
re
and
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
function
cm
.
costfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0xfa4
)
and
c
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsReleasable
()
...
...
@@ -192,21 +192,21 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
if
tc
:
IsType
(
TYPE_TRAPMONSTER
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EFFECT_DISABLE_TRAPMONSTER
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
end
end
...
...
expansions/script/c12035022.lua
View file @
e3571e99
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e3
:
SetRange
(
LOCATION_
ONFIELD
)
e3
:
SetRange
(
LOCATION_
FZONE
)
e3
:
SetTargetRange
(
LOCATION_HAND
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xfa4
))
e3
:
SetValue
(
1
)
...
...
@@ -46,6 +46,8 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
Release
(
g
,
REASON_EFFECT
)
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
function
cm
.
filter
(
c
)
...
...
expansions/script/c12035023.lua
View file @
e3571e99
...
...
@@ -38,7 +38,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
)
if
true
then
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
LOCATION_SZONE
,
0
,
nil
,
e
))
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
LOCATION_SZONE
,
0
,
e
:
GetHandler
()
,
e
))
end
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
...
...
@@ -70,7 +70,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
cm
.
filter1
,
nil
,
e
)
if
true
then
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
LOCATION_SZONE
,
0
,
nil
,
e
))
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
LOCATION_SZONE
,
0
,
e
:
GetHandler
()
,
e
))
end
local
sg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
...
...
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