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
b2b0e187
Commit
b2b0e187
authored
Jul 31, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fc7e30ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
expansions/script/c22348286.lua
expansions/script/c22348286.lua
+1
-1
expansions/script/c29065511.lua
expansions/script/c29065511.lua
+2
-0
expansions/script/c60002245.lua
expansions/script/c60002245.lua
+11
-10
No files found.
expansions/script/c22348286.lua
View file @
b2b0e187
...
...
@@ -90,7 +90,7 @@ end
function
c22348286
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x70a6
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x70a6
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c22348286
.
dscost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22348286
.
costfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c29065511.lua
View file @
b2b0e187
--方舟骑士深层归还
c29065511
.
named_with_Arknight
=
1
function
c29065511
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
29065500
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c60002245.lua
View file @
b2b0e187
...
...
@@ -2,12 +2,12 @@
local
m
=
60002245
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
Art_g
=
group
.
createg
roup
()
Art_g
=
Group
.
CreateG
roup
()
Art_g
:
KeepAlive
()
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -30,8 +30,8 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetTarget
(
cm
.
thtg
3
)
e1
:
SetOperation
(
cm
.
thop
3
)
e1
:
SetTarget
(
cm
.
thtg
2
)
e1
:
SetOperation
(
cm
.
thop
2
)
c
:
RegisterEffect
(
e1
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
...
...
@@ -45,16 +45,17 @@ end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
if
tc
:
IsSetCard
(
0x6a9
)
then
if
tc
:
IsSetCard
(
0x6a9
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
Art_g
:
AddCard
(
tc
)
end
tc
=
eg
:
GetNext
()
end
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
60002246
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -72,11 +73,11 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
Art_g
:
GetClassCount
(
Card
.
GetCode
)
<
6
then
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
g
:
CheckSubGroup
(
aux
.
dncheck
,
2
,
2
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
else
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
2
and
g
:
CheckSubGroup
(
aux
.
dncheck
,
3
,
3
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
...
...
@@ -85,7 +86,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
if
Art_g
:
GetClassCount
(
Card
.
GetCode
)
<
6
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
1
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
2
,
2
)
if
sg
and
sg
:
GetCount
()
==
2
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
@@ -93,7 +94,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
else
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
2
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
3
,
3
)
if
sg
and
sg
:
GetCount
()
==
3
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
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