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
8c1ad568
Commit
8c1ad568
authored
Jul 30, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
d4be471c
Pipeline
#15046
passed with stages
in 29 minutes and 55 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c12035010.lua
expansions/script/c12035010.lua
+1
-1
expansions/script/c12035011.lua
expansions/script/c12035011.lua
+2
-2
expansions/script/c12035022.lua
expansions/script/c12035022.lua
+1
-1
No files found.
expansions/script/c12035010.lua
View file @
8c1ad568
...
...
@@ -177,7 +177,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
setfilter
(
c
,
tp
)
return
c
:
IsPosition
(
POS_FACEUP
)
and
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanTurnSet
()
or
c
:
IsSSetable
(
)
)
return
c
:
IsPosition
(
POS_FACEUP
)
and
(
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanTurnSet
())
or
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
end
...
...
expansions/script/c12035011.lua
View file @
8c1ad568
...
...
@@ -169,9 +169,9 @@ function cm.costfilter(c,tp)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
Duel
.
GetCurrentChain
()
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
if
Duel
.
GetCurrentChain
()
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
3
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
3
,
3
,
nil
)
Duel
.
Release
(
g
,
REASON_EFFECT
)
e
:
SetLabel
(
1
)
end
...
...
expansions/script/c12035022.lua
View file @
8c1ad568
...
...
@@ -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_
FZONE
)
e3
:
SetRange
(
LOCATION_
ONFIELD
)
e3
:
SetTargetRange
(
LOCATION_HAND
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xfa4
))
e3
:
SetValue
(
1
)
...
...
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