Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
cc30ec7a
Commit
cc30ec7a
authored
Apr 12, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c33711403.lua
parent
c67f9a52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
expansions/script/c33711403.lua
expansions/script/c33711403.lua
+6
-4
No files found.
expansions/script/c33711403.lua
View file @
cc30ec7a
...
@@ -69,14 +69,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,14 +69,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
op
==
1
then
if
op
==
1
then
op
=
2
op
=
2
end
end
else
a1
and
a4
then
else
if
a1
and
a4
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
4
))
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
4
))
if
op
==
1
then
if
op
==
1
then
op
=
3
op
=
3
end
end
else
a2
and
a3
then
else
if
a2
and
a3
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
3
))
+
1
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
3
))
+
1
else
a2
and
a4
then
else
if
a2
and
a4
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
4
))
+
1
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
4
))
+
1
if
op
==
2
then
if
op
==
2
then
op
=
3
op
=
3
...
@@ -95,9 +95,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,9 +95,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
op
==
0
then
if
op
==
0
then
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
local
sg
=
g
:
RandomSelect
(
tp
,
5
)
local
sg
=
g
:
RandomSelect
(
tp
,
5
)
local
sg1
=
sg
:
Filter
(
Card
.
Is
Type
,
nil
,
TYPE_PENDULUM
)
local
sg1
=
sg
:
Filter
(
Card
.
Is
Faceup
,
nil
)
local
sg2
=
Group
.
__sub
(
sg
,
sg1
)
local
sg2
=
Group
.
__sub
(
sg
,
sg1
)
Duel
.
Remove
(
sg2
,
POS_FACEDOWN
,
0
)
Duel
.
SendtoDeck
(
sg2
,
1
-
tp
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
sg2
,
1
-
tp
,
2
,
REASON_EFFECT
)
Duel
.
Remove
(
sg1
,
POS_FACEDOWN
,
0
)
Duel
.
SendtoExtraP
(
sg1
,
1
-
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
sg1
,
1
-
tp
,
REASON_EFFECT
)
local
sg3
=
sg
:
Filter
(
cm
.
filter
,
nil
,
tp
)
local
sg3
=
sg
:
Filter
(
cm
.
filter
,
nil
,
tp
)
if
sg3
:
GetCount
()
>
4
then
if
sg3
:
GetCount
()
>
4
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