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
785f2a14
Commit
785f2a14
authored
May 09, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c6fd2d6b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
24 deletions
+31
-24
expansions/lflist.conf
expansions/lflist.conf
+0
-1
expansions/script/c10174075.lua
expansions/script/c10174075.lua
+20
-10
expansions/script/c22348337.lua
expansions/script/c22348337.lua
+1
-0
expansions/script/c33400810.lua
expansions/script/c33400810.lua
+3
-6
expansions/script/c33400811.lua
expansions/script/c33400811.lua
+1
-1
expansions/script/c33400812.lua
expansions/script/c33400812.lua
+1
-1
expansions/script/c33400813.lua
expansions/script/c33400813.lua
+3
-3
expansions/script/c88880043.lua
expansions/script/c88880043.lua
+2
-2
No files found.
expansions/lflist.conf
View file @
785f2a14
...
...
@@ -2162,7 +2162,6 @@
15000820
0
53796076
0
83000087
0
88880039
0
88880220
0
9910682
1
60002245
1
...
...
expansions/script/c10174075.lua
View file @
785f2a14
--破坏死光
if
not
pcall
(
function
()
require
(
"expansions/script/c10199990"
)
end
)
then
require
(
"script/c10199990"
)
end
local
m
,
cm
=
rscf
.
DefineCard
(
10174075
)
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,
nil
,
"dish,des"
,
nil
,
nil
,
nil
,
rsop
.
target
({
1
,
"dh"
},{
Card
.
IsAbleToGrave
,
"tg"
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
}),
cm
.
act
)
function
c10174075
.
initial_effect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
TIMING_END_PHASE
+
TIMING_DRAW_PHASE
,
TIMING_END_PHASE
+
TIMING_MAIN_END
)
e2
:
SetTarget
(
c10174075
.
tg
)
e2
:
SetOperation
(
c10174075
.
op
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
act
(
e
,
tp
)
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
,
nil
,
REASON_EFFECT
)
>
0
then
rsop
.
SelectToGrave
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),{})
end
local
c
=
rscf
.
GetFaceUpSelf
(
e
)
if
c
and
c
:
IsCanTurnSet
()
then
function
c10174075
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
PLAYER_ALL
,
LOCATION_MZONE
)
end
function
c10174075
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
~=
0
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanTurnSet
()
then
Duel
.
BreakEffect
()
c
:
CancelToGrave
()
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
end
expansions/script/c22348337.lua
View file @
785f2a14
...
...
@@ -16,6 +16,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
c22348337
.
toss_dice
=
true
function
c22348337
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
...
...
expansions/script/c33400810.lua
View file @
785f2a14
...
...
@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local
g
=
Group
.
CreateGroup
()
g
:
AddCard
(
tc
)
g
:
AddCard
(
c
)
return
c
:
IsSetCard
(
0xa341
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
end
function
cm
.
hspcon
(
e
,
c
)
...
...
@@ -135,11 +135,8 @@ function cm.stop(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
cg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
else
if
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
~=
0
then
elseif
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
~=
0
then
local
sg
=
Duel
.
GetOperatedGroup
()
local
sc
=
sg
:
GetFirst
()
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
...
...
expansions/script/c33400811.lua
View file @
785f2a14
...
...
@@ -45,7 +45,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local
g
=
Group
.
CreateGroup
()
g
:
AddCard
(
tc
)
g
:
AddCard
(
c
)
return
c
:
IsSetCard
(
0xa341
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
end
function
cm
.
hspcon
(
e
,
c
)
...
...
expansions/script/c33400812.lua
View file @
785f2a14
...
...
@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local
g
=
Group
.
CreateGroup
()
g
:
AddCard
(
tc
)
g
:
AddCard
(
c
)
return
c
:
IsSetCard
(
0xa341
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
end
function
cm
.
hspcon
(
e
,
c
)
...
...
expansions/script/c33400813.lua
View file @
785f2a14
...
...
@@ -46,7 +46,7 @@ function cm.hspfilter2(c,tp,sc,tc)
local
g
=
Group
.
CreateGroup
()
g
:
AddCard
(
tc
)
g
:
AddCard
(
c
)
return
c
:
IsSetCard
(
0xa341
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
end
function
cm
.
hspcon
(
e
,
c
)
...
...
@@ -107,8 +107,8 @@ end
function
cm
.
tgfilter
(
e
,
c
)
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
cm
.
imfilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
not
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
re
:
GetHandler
()
)
function
cm
.
imfilter
(
e
,
c
)
return
not
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
c
)
end
function
cm
.
stcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c88880043.lua
View file @
785f2a14
...
...
@@ -3,7 +3,7 @@ function c88880043.initial_effect(c)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
88880043
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
88880043
)
...
...
@@ -13,7 +13,7 @@ function c88880043.initial_effect(c)
--cost
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
88880043
,
1
))
e2
:
SetCategory
(
CATEGORY_CONTROL
+
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_CONTROL
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCountLimit
(
1
,
88880043
)
...
...
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