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
0137425d
Commit
0137425d
authored
Nov 22, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6c1e4a1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
expansions/script/c33400464.lua
expansions/script/c33400464.lua
+9
-10
expansions/script/c33700941.lua
expansions/script/c33700941.lua
+1
-1
No files found.
expansions/script/c33400464.lua
View file @
0137425d
...
...
@@ -21,21 +21,20 @@ function c33400464.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c33400464
.
filter
(
c
)
return
c
:
IsSetCard
(
0x6343
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x6343
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_HAND
))
and
c
:
IsAbleToGrave
()
end
function
c33400464
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
+
LOCATION_HAND
)
and
chkc
:
IsControler
(
tp
)
and
c33400464
.
filter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33400464
.
filter
,
tp
,
LOCATION_SZONE
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_SZONE
+
LOCATION_HAND
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33400464
.
filter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_SZONE
+
LOCATION_HAND
)
end
function
c33400464
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsExistingMatchingCard
(
c33400464
.
filter
,
tp
,
LOCATION_
SZONE
+
LOCATION_HAND
,
0
,
1
,
nil
)
then
if
Duel
.
IsExistingMatchingCard
(
c33400464
.
filter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_HAND
,
0
,
1
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c33400464
.
filter
,
tp
,
LOCATION_
SZONE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
then
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
end
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c33400464
.
filter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
())
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
then
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
end
end
end
...
...
expansions/script/c33700941.lua
View file @
0137425d
...
...
@@ -23,7 +23,7 @@ function c33700941.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c33700941
.
getg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
end
function
c33700941
.
geop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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