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
b9a812c0
Commit
b9a812c0
authored
Aug 08, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
da8cd225
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
42 deletions
+8
-42
expansions/script/c60000101.lua
expansions/script/c60000101.lua
+0
-31
expansions/script/c60000105.lua
expansions/script/c60000105.lua
+1
-1
expansions/script/c60000116.lua
expansions/script/c60000116.lua
+2
-5
expansions/script/c60000117.lua
expansions/script/c60000117.lua
+3
-3
expansions/script/c9330016.lua
expansions/script/c9330016.lua
+2
-2
No files found.
expansions/script/c60000101.lua
View file @
b9a812c0
...
...
@@ -11,7 +11,6 @@ function c60000101.initial_effect(c)
e1
:
SetTarget
(
c60000101
.
target
)
e1
:
SetOperation
(
c60000101
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
@@ -42,36 +41,6 @@ function c60000101.activate(e,tp,eg,ep,ev,re,r,rp)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
function
c60000101
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x56a9
)
and
c
:
IsAbleToGrave
()
end
function
c60000101
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c60000101
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
tp
,
LOCATION_DECK
)
end
function
c60000101
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c60000101
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
if
Duel
.
IsExistingMatchingCard
(
c60000101
.
thfil
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60000101
,
0
))
then
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c60000101
.
thfil
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c60000101
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c60000101
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsSetCard
(
0x56a9
)
end
function
c60000101
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
...
...
expansions/script/c60000105.lua
View file @
b9a812c0
...
...
@@ -76,7 +76,7 @@ function c60000105.acop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c60000105
.
thfil1
(
c
)
return
(
c
:
IsSetCard
(
0xa6a1
)
or
c
:
IsSetCard
(
0xa6a2
))
and
c
:
IsAbleToHand
()
and
not
IsCode
(
60000105
)
return
(
c
:
IsSetCard
(
0xa6a1
)
or
c
:
IsSetCard
(
0xa6a2
))
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
60000105
)
end
function
c60000105
.
xxtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60000105
.
thfil1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c60000116.lua
View file @
b9a812c0
...
...
@@ -29,8 +29,8 @@ end
function
c60000116
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x56a9
)
end
function
c60000116
,
ckfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
IsSetCard
(
0x56a9
)
function
c60000116
.
ckfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x56a9
)
end
function
c60000116
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c60000116
.
ckfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
@@ -71,9 +71,6 @@ function c60000116.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
),
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
),
tp
,
LOCATION_DECK
)
end
function
c60000116
(
c
)
return
not
c
:
IsSetCard
(
0x36a0
)
end
function
c60000116
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
...
...
expansions/script/c60000117.lua
View file @
b9a812c0
...
...
@@ -20,7 +20,7 @@ function c60000117.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c60000117
.
filter
(
c
)
return
c
:
IsSetCard
(
0x56a9
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x56a9
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c60000117
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60000117
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -41,12 +41,12 @@ function c60000117.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x56a9
)
then
return
true
end
end
--「 No Game No Life」 怪 兽
function
c60000117
.
filter
(
c
)
function
c60000117
.
filter
1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x36a0
)
end
-- 场 上 有 所 述 怪 兽
function
c60000117
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60000117
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60000117
.
filter
1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
-- 可 以 被 效 果 影 响 的「 No Game No Life」 怪 兽
function
c60000117
.
filter2
(
c
,
e
)
...
...
expansions/script/c9330016.lua
View file @
b9a812c0
...
...
@@ -31,7 +31,7 @@ function c9330016.initial_effect(c)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
--
--
cannot activate
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -46,7 +46,7 @@ function c9330016.initial_effect(c)
e5
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e5
:
SetRange
(
LOCATION_ONFIELD
)
e5
:
SetTargetRange
(
LOCATION_GRAVE
,
LOCATION_GRAVE
)
e5
:
Set
Value
(
c9330016
.
aclimit2
)
e5
:
Set
Target
(
c9330016
.
aclimit2
)
c
:
RegisterEffect
(
e5
)
--set/to hand
local
e6
=
Effect
.
CreateEffect
(
c
)
...
...
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