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
1ef8a18c
Commit
1ef8a18c
authored
Feb 17, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
4a87f066
Pipeline
#2436
passed with stages
in 48 minutes and 46 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
expansions/script/c21520157.lua
expansions/script/c21520157.lua
+2
-2
expansions/script/c21520160.lua
expansions/script/c21520160.lua
+7
-6
expansions/script/c33401305.lua
expansions/script/c33401305.lua
+1
-1
No files found.
expansions/script/c21520157.lua
View file @
1ef8a18c
...
...
@@ -124,8 +124,8 @@ function c21520157.feop(e,tp,eg,ep,ev,re,r,rp)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
hg
=
Duel
.
GetMatchingGroup
(
c21520157
.
pfilter
,
p
,
LOCATION_HAND
,
0
,
nil
)
if
hg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
21520157
,
2
))
then
Duel
.
Hint
(
HINT_CARD
,
1
-
t
p
,
21520157
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
layer
,
HINTMSG_CONFIRM
)
Duel
.
Hint
(
HINT_CARD
,
1
-
p
,
21520157
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_CONFIRM
)
local
sg
=
hg
:
Select
(
p
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
p
,
sg
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c21520160.lua
View file @
1ef8a18c
...
...
@@ -25,6 +25,7 @@ function c21520160.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
c21520160
.
fecon
)
e1
:
SetTarget
(
c21520160
.
fetg
)
...
...
@@ -120,12 +121,12 @@ function c21520160.fetg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c21520160
.
feop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
hg
=
Duel
.
GetMatchingGroup
(
c21520160
.
pfilter
,
p
,
LOCATION_HAND
,
0
,
nil
)
if
hg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
21520160
,
2
))
then
Duel
.
Hint
(
HINT_CARD
,
1
-
t
p
,
21520160
)
Duel
.
Hint
(
HINT_SELECTMSG
,
player
,
HINTMSG_CONFIRM
)
local
sg
=
hg
:
Select
(
p
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
p
,
sg
)
local
hg
=
Duel
.
GetMatchingGroup
(
c21520160
.
pfilter
,
1
-
p
,
LOCATION_HAND
,
0
,
nil
)
if
hg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
1
-
p
,
aux
.
Stringid
(
21520160
,
2
))
then
Duel
.
Hint
(
HINT_CARD
,
p
,
21520160
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
p
,
HINTMSG_CONFIRM
)
local
sg
=
hg
:
Select
(
1
-
p
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
p
,
sg
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_PUBLIC
)
...
...
expansions/script/c33401305.lua
View file @
1ef8a18c
...
...
@@ -14,7 +14,7 @@ function c33401305.filter(c,e,tp)
end
function
c33401305
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExisting
Target
(
c33401305
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExisting
MatchingCard
(
c33401305
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c33401305
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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