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
50305a6c
Commit
50305a6c
authored
Apr 29, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
57041557
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
10 deletions
+13
-10
expansions/script/c11579812.lua
expansions/script/c11579812.lua
+1
-1
expansions/script/c40009280.lua
expansions/script/c40009280.lua
+2
-2
expansions/script/c53755008.lua
expansions/script/c53755008.lua
+3
-3
expansions/script/c53796211.lua
expansions/script/c53796211.lua
+1
-0
expansions/script/c53796212.lua
expansions/script/c53796212.lua
+1
-0
expansions/script/c53796213.lua
expansions/script/c53796213.lua
+1
-0
expansions/script/c9910564.lua
expansions/script/c9910564.lua
+4
-4
No files found.
expansions/script/c11579812.lua
View file @
50305a6c
...
@@ -64,7 +64,7 @@ function c11579812.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function c11579812.desop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
local
aaa
=
math.ceil
(
math.abs
(
Duel
.
GetLP
(
tp
)
-
Duel
.
GetLP
(
1
-
tp
))
/
2
)
local
aaa
=
math.ceil
(
math.abs
(
Duel
.
GetLP
(
tp
)
-
Duel
.
GetLP
(
1
-
tp
))
/
2
)
if
tc
:
GetAttack
()
<
=
aaa
then
if
tc
:
GetAttack
()
<
aaa
then
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_RULE
,
1
-
tp
)
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_RULE
,
1
-
tp
)
else
else
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
...
...
expansions/script/c40009280.lua
View file @
50305a6c
...
@@ -37,8 +37,8 @@ end
...
@@ -37,8 +37,8 @@ end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
lg
=
c
:
GetLinkedGroup
()
local
lg
=
c
:
GetLinkedGroup
()
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
cm
.
cfilter
,
3
,
nil
,
lg
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
cfilter
,
3
,
nil
,
lg
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
cfilter
,
3
,
3
,
nil
,
lg
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
cfilter
,
3
,
3
,
nil
,
lg
)
local
ct
=
g
:
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_NORMAL
)
local
ct
=
g
:
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_NORMAL
)
e
:
SetValue
(
ct
)
e
:
SetValue
(
ct
)
if
ct
>
0
then
if
ct
>
0
then
...
...
expansions/script/c53755008.lua
View file @
50305a6c
...
@@ -58,7 +58,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -58,7 +58,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
chk
==
0
then
local
g
=
eg
:
Filter
(
cm
.
filter1
,
nil
,
tp
)
local
g
=
eg
:
Filter
(
cm
.
filter1
,
nil
,
tp
)
local
s
=
{}
local
s
=
{}
for
tc
in
aux
.
Next
(
g
)
do
table.insert
(
s
,
4
-
tc
:
GetSequence
(
))
end
for
tc
in
aux
.
Next
(
g
)
do
table.insert
(
s
,
4
-
aux
.
MZoneSequence
(
tc
:
GetSequence
()
))
end
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
,
table.unpack
(
s
))
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
,
table.unpack
(
s
))
end
end
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetTargetCard
(
eg
)
...
@@ -71,8 +71,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,8 +71,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
cm
.
filter2
,
nil
,
e
,
tp
)
local
g
=
eg
:
Filter
(
cm
.
filter2
,
nil
,
e
,
tp
)
local
z
,
s
=
0
,{}
local
z
,
s
=
0
,{}
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
z
=
z
|
(
1
<<
(
4
-
tc
:
GetSequence
(
)))
z
=
z
|
(
1
<<
(
4
-
aux
.
MZoneSequence
(
tc
:
GetSequence
()
)))
table.insert
(
s
,
4
-
tc
:
GetSequence
(
))
table.insert
(
s
,
4
-
aux
.
MZoneSequence
(
tc
:
GetSequence
()
))
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
table.unpack
(
s
)):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
table.unpack
(
s
)):
GetFirst
()
...
...
expansions/script/c53796211.lua
View file @
50305a6c
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_SELF_TOGRAVE
)
aux
.
AddCodeList
(
c
,
67073561
)
aux
.
AddCodeList
(
c
,
67073561
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c53796212.lua
View file @
50305a6c
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_SELF_TOGRAVE
)
aux
.
AddCodeList
(
c
,
67073561
)
aux
.
AddCodeList
(
c
,
67073561
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c53796213.lua
View file @
50305a6c
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_SELF_TOGRAVE
)
aux
.
AddCodeList
(
c
,
67073561
)
aux
.
AddCodeList
(
c
,
67073561
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c9910564.lua
View file @
50305a6c
...
@@ -21,14 +21,14 @@ function c9910564.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -21,14 +21,14 @@ function c9910564.spcon(e,tp,eg,ep,ev,re,r,rp)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
(
LOCATION_HAND
+
LOCATION_GRAVE
)
&
loc
~=
0
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
(
LOCATION_HAND
+
LOCATION_GRAVE
)
&
loc
~=
0
end
end
function
c9910564
.
costfilter
(
c
)
function
c9910564
.
costfilter
(
c
,
e
)
return
c
:
IsSetCard
(
0x3951
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x3951
)
and
c
:
IsDiscardable
()
and
c
~=
e
:
GetHandler
()
end
end
function
c9910564
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910564
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsDiscardable
()
and
Duel
.
IsExistingMatchingCard
(
c9910564
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
end
if
chk
==
0
then
return
c
:
IsDiscardable
()
and
Duel
.
IsExistingMatchingCard
(
c9910564
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
,
re
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910564
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910564
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
c
,
re
)
g
:
AddCard
(
c
)
g
:
AddCard
(
c
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
end
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