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
f5bd501c
Commit
f5bd501c
authored
Nov 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Plain Diff
watele
parents
dd901a4f
03fdbf24
Pipeline
#6610
failed with stages
in 15 minutes and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
expansions/script/c12070001.lua
expansions/script/c12070001.lua
+2
-2
expansions/script/c12070041.lua
expansions/script/c12070041.lua
+11
-0
No files found.
expansions/script/c12070001.lua
View file @
f5bd501c
...
...
@@ -10,9 +10,9 @@ function Sr_Farw.cannotspop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
and
eg
:
IsPreviousLocation
(
LOCATION_DECK
)
and
eg
:
IsExists
(
Sr_Farw
.
cannotfilter
,
1
,
nil
)
end
)
e1
:
SetOperation
(
cm
.
cannotspsummon
)
e1
:
SetOperation
(
Sr_Farw
.
cannotspsummon
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
tp
,
e1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
return
e1
end
function
Sr_Farw
.
cannotfilter
(
c
)
...
...
expansions/script/c12070041.lua
View file @
f5bd501c
...
...
@@ -71,6 +71,7 @@ function cm.thfilter1(c)
return
c
:
IsAbleToGrave
()
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
<<<<<<<
HEAD
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
if
#
g
>
10
then
Debug
.
Message
(
#
g
)
...
...
@@ -80,6 +81,16 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
=======
local
g
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_EXTRA
)
if
#
g
>
10
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
cm
.
thfilter1
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
#
g
-
10
,
#
g
-
10
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
>>>>>>>
03
fdbf24a9def495623fefcaa14d9589a16c5286
if
#
g
<
11
then
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
if
sg
:
GetCount
()
>
0
then
...
...
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