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
Huangnan
no81cards
Commits
c76ff857
Commit
c76ff857
authored
Sep 07, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
3e03a04c
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
27 additions
and
15 deletions
+27
-15
expansions/script/c11451710.lua
expansions/script/c11451710.lua
+1
-0
expansions/script/c11451891.lua
expansions/script/c11451891.lua
+1
-1
expansions/script/c11630211.lua
expansions/script/c11630211.lua
+3
-4
expansions/script/c12825613.lua
expansions/script/c12825613.lua
+1
-2
expansions/script/c53756008.lua
expansions/script/c53756008.lua
+1
-0
expansions/script/c53757001.lua
expansions/script/c53757001.lua
+2
-0
expansions/script/c53757003.lua
expansions/script/c53757003.lua
+2
-0
expansions/script/c53757005.lua
expansions/script/c53757005.lua
+2
-0
expansions/script/c53757007.lua
expansions/script/c53757007.lua
+2
-0
expansions/script/c53757009.lua
expansions/script/c53757009.lua
+2
-0
expansions/script/c64800191.lua
expansions/script/c64800191.lua
+10
-8
No files found.
expansions/script/c11451710.lua
View file @
c76ff857
...
...
@@ -56,6 +56,7 @@ function cm.initial_effect(c)
if
tc
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
_RegisterEffect
(
tc
,
e
,
bool
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
return
...
...
expansions/script/c11451891.lua
View file @
c76ff857
...
...
@@ -28,7 +28,7 @@ function cm.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x18b
)
and
((
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
c
:
IsSSetable
())
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
rfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
rfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
()
)
end
local
rg
=
Duel
.
GetMatchingGroup
(
cm
.
rfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
rg
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
...
...
expansions/script/c11630211.lua
View file @
c76ff857
...
...
@@ -119,7 +119,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetLabelObject
(
token
)
--
e1:SetLabelObject(token)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
e1
:
SetValue
(
cm
.
efilter
)
token
:
RegisterEffect
(
e1
,
true
)
...
...
@@ -153,7 +153,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
efilter
(
e
,
te
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
seq
==
e
:
GetHandler
():
GetSequence
()
function
cm
.
efilter
(
e
,
re
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
re
:
GetHandler
())
end
expansions/script/c12825613.lua
View file @
c76ff857
...
...
@@ -62,8 +62,7 @@ end
function
c12825613
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
if
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
then
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
>
0
and
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
GetControl
(
c
,
1
-
tp
)
else
...
...
expansions/script/c53756008.lua
View file @
c76ff857
...
...
@@ -282,6 +282,7 @@ function cm.rsop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
immval
(
e
,
te
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsLocation
(
LOCATION_FZONE
)
then
return
false
end
local
tp
=
c
:
GetControler
()
local
eset
=
{
c
:
IsHasEffect
(
m
+
50
)}
local
res
=
te
:
GetOwner
()
~=
e
:
GetOwner
()
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
...
...
expansions/script/c53757001.lua
View file @
c76ff857
local
m
=
53757001
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"次元秽界 赤"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -68,6 +69,7 @@ function cm.initial_effect(c)
e6_1
:
SetTarget
(
cm
.
actarget3
)
e6_1
:
SetOperation
(
cm
.
repoperation
)
Duel
.
RegisterEffect
(
e6_1
,
0
)
SNNM
.
Global_in_Initial_Reset
(
c
,{
e3
,
e4
,
e5
,
e6
,
e6_1
})
--[[local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_ACTIVATE_COST)
...
...
expansions/script/c53757003.lua
View file @
c76ff857
local
m
=
53757003
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"次元秽界 金"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -65,6 +66,7 @@ function cm.initial_effect(c)
e6_1
:
SetTarget
(
cm
.
actarget3
)
e6_1
:
SetOperation
(
cm
.
repoperation
)
Duel
.
RegisterEffect
(
e6_1
,
0
)
SNNM
.
Global_in_Initial_Reset
(
c
,{
e3
,
e4
,
e5
,
e6
,
e6_1
})
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
expansions/script/c53757005.lua
View file @
c76ff857
local
m
=
53757005
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"次元秽界 律"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -65,6 +66,7 @@ function cm.initial_effect(c)
e6_1
:
SetTarget
(
cm
.
actarget3
)
e6_1
:
SetOperation
(
cm
.
repoperation
)
Duel
.
RegisterEffect
(
e6_1
,
0
)
SNNM
.
Global_in_Initial_Reset
(
c
,{
e3
,
e4
,
e5
,
e6
,
e6_1
})
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
expansions/script/c53757007.lua
View file @
c76ff857
local
m
=
53757007
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"次元秽界 铜"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -65,6 +66,7 @@ function cm.initial_effect(c)
e6_1
:
SetTarget
(
cm
.
actarget3
)
e6_1
:
SetOperation
(
cm
.
repoperation
)
Duel
.
RegisterEffect
(
e6_1
,
0
)
SNNM
.
Global_in_Initial_Reset
(
c
,{
e3
,
e4
,
e5
,
e6
,
e6_1
})
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
expansions/script/c53757009.lua
View file @
c76ff857
local
m
=
53757009
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"次元秽界 冽"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -65,6 +66,7 @@ function cm.initial_effect(c)
e6_1
:
SetTarget
(
cm
.
actarget3
)
e6_1
:
SetOperation
(
cm
.
repoperation
)
Duel
.
RegisterEffect
(
e6_1
,
0
)
SNNM
.
Global_in_Initial_Reset
(
c
,{
e3
,
e4
,
e5
,
e6
,
e6_1
})
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
expansions/script/c64800191.lua
View file @
c76ff857
...
...
@@ -12,9 +12,8 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x412
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x412
)
and
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
10
)
...
...
@@ -32,14 +31,17 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
function
cm
.
actcfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x412
)
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
and
c
:
IsRelateToEffect
(
e
)
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
c
=
e
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanOverlay
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
)
)
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
)
local
sc
=
g2
:
GetFirst
()
c
:
CancelToGrave
()
Duel
.
Overlay
(
sc
,
Group
.
FromCards
(
c
))
end
end
\ No newline at end of file
end
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