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
df3693ad
Commit
df3693ad
authored
May 02, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fb6bcc1f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
183 additions
and
183 deletions
+183
-183
expansions/script/c28316050.lua
expansions/script/c28316050.lua
+1
-1
expansions/script/c28323723.lua
expansions/script/c28323723.lua
+5
-4
expansions/script/c28381214.lua
expansions/script/c28381214.lua
+5
-4
expansions/script/c53767011.lua
expansions/script/c53767011.lua
+1
-1
expansions/script/c60151903.lua
expansions/script/c60151903.lua
+84
-86
expansions/script/c60151904.lua
expansions/script/c60151904.lua
+87
-87
No files found.
expansions/script/c28316050.lua
View file @
df3693ad
...
@@ -62,7 +62,7 @@ function c28316050.thfilter(c)
...
@@ -62,7 +62,7 @@ function c28316050.thfilter(c)
return
c
:
IsSetCard
(
0x286
,
0x289
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x286
,
0x289
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c28316050
.
dctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c28316050
.
dctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
Is
Discardable
,
tp
,
LOCATION_HAN
D
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28316050
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
Is
AbleToGrave
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIEL
D
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28316050
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
end
end
function
c28316050
.
dcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28316050
.
dcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c28323723.lua
View file @
df3693ad
...
@@ -66,10 +66,11 @@ function c28323723.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,10 +66,11 @@ function c28323723.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
==
0
then
return
end
if
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
==
0
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
local
b1
=
Duel
.
IsExistingMatchingCard
(
c28323723
.
stfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
local
b1
,
b2
,
b3
,
b4
=
false
local
b2
=
Duel
.
IsExistingMatchingCard
(
c28323723
.
nofilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
sefilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
c28323723
.
stfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
then
b1
=
true
end
local
b3
=
Duel
.
IsExistingMatchingCard
(
c28323723
.
shfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
exfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
c28323723
.
nofilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
sefilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
b2
=
true
end
local
b4
=
Duel
.
IsExistingMatchingCard
(
c28323723
.
cofilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
rmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
c28323723
.
shfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
exfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
then
b3
=
true
end
if
Duel
.
IsExistingMatchingCard
(
c28323723
.
cofilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28323723
.
rmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
b4
=
true
end
if
not
(
b1
or
b2
or
b3
or
b4
)
then
return
end
if
not
(
b1
or
b2
or
b3
or
b4
)
then
return
end
local
off
=
1
local
off
=
1
local
ops
,
opval
=
{},{}
local
ops
,
opval
=
{},{}
...
...
expansions/script/c28381214.lua
View file @
df3693ad
...
@@ -59,10 +59,11 @@ function c28381214.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,10 +59,11 @@ function c28381214.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
==
0
then
return
end
if
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
==
0
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
local
b1
=
Duel
.
IsExistingMatchingCard
(
c28381214
.
ilfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28381214
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b1
,
b2
,
b3
,
b4
=
false
local
b2
=
Duel
.
IsExistingMatchingCard
(
c28381214
.
anfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
c28381214
.
ilfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28381214
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
b1
=
true
end
local
b3
=
Duel
.
IsExistingMatchingCard
(
c28381214
.
hkfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28381214
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
Duel
.
IsExistingMatchingCard
(
c28381214
.
anfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
then
b2
=
true
end
local
b4
=
Duel
.
IsExistingMatchingCard
(
c28381214
.
alfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
c28381214
.
hkfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28381214
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
b3
=
true
end
if
Duel
.
IsExistingMatchingCard
(
c28381214
.
alfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
)
then
b4
=
true
end
if
not
(
b1
or
b2
or
b3
or
b4
)
then
return
end
if
not
(
b1
or
b2
or
b3
or
b4
)
then
return
end
local
off
=
1
local
off
=
1
local
ops
,
opval
=
{},{}
local
ops
,
opval
=
{},{}
...
...
expansions/script/c53767011.lua
View file @
df3693ad
...
@@ -63,7 +63,7 @@ function s.repcon(e)
...
@@ -63,7 +63,7 @@ function s.repcon(e)
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
>
0
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
>
0
end
end
function
s
.
repfilter
(
c
,
tp
,
re
)
function
s
.
repfilter
(
c
,
tp
,
re
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_
COST
)
and
re
and
re
:
IsActivated
()
and
c
==
re
:
GetHandler
()
and
not
c
:
IsReason
(
REASON_REPLACE
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_
RELEASE
)
and
re
and
re
:
IsActivated
()
and
c
==
re
:
GetHandler
()
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
end
function
s
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
repfilter
,
1
,
nil
,
tp
,
re
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
repfilter
,
1
,
nil
,
tp
,
re
)
end
...
...
expansions/script/c60151903.lua
View file @
df3693ad
--线膛燧发枪 黎明之翼
--线膛燧发枪 黎明之翼
local
m
=
60151903
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
aux
.
EnablePendulumAttribute
(
c
)
--self destroy
--self destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_SELF_DESTROY
)
e1
:
SetCode
(
EFFECT_SELF_DESTROY
)
e1
:
SetCondition
(
c60151903
.
e1con
)
e1
:
SetCondition
(
c60151903
.
e1con
)
...
...
expansions/script/c60151904.lua
View file @
df3693ad
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
--self destroy
--self destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_SELF_DESTROY
)
e1
:
SetCode
(
EFFECT_SELF_DESTROY
)
e1
:
SetCondition
(
c60151904
.
e1con
)
e1
:
SetCondition
(
c60151904
.
e1con
)
...
...
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