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
d4801e99
Commit
d4801e99
authored
Jan 01, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
957e2340
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
17 deletions
+20
-17
expansions/script/c13090011.lua
expansions/script/c13090011.lua
+2
-3
expansions/script/c60000047.lua
expansions/script/c60000047.lua
+3
-1
expansions/script/c60000048.lua
expansions/script/c60000048.lua
+4
-2
expansions/script/c60000050.lua
expansions/script/c60000050.lua
+1
-0
expansions/script/c60000054.lua
expansions/script/c60000054.lua
+4
-8
expansions/script/c60000091.lua
expansions/script/c60000091.lua
+4
-2
expansions/script/c98920219.lua
expansions/script/c98920219.lua
+1
-0
expansions/script/c98920430.lua
expansions/script/c98920430.lua
+1
-1
No files found.
expansions/script/c13090011.lua
View file @
d4801e99
...
...
@@ -53,9 +53,8 @@ function cm.setfilter(c,tp)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
h1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
local
h2
=
Duel
.
GetFieldGroupCount
(
1
-
tp
,
LOCATION_HAND
,
0
)
return
(
h1
>
0
and
h2
>
0
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
return
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
end
function
cm
.
f2
(
c
)
...
...
expansions/script/c60000047.lua
View file @
d4801e99
...
...
@@ -2,7 +2,7 @@
local
m
=
60000047
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60000043
)
aux
.
AddCodeList
(
c
,
60000043
)
c
:
EnableReviveLimit
()
--spsummon limit
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -98,6 +98,7 @@ function cm.hspcon(e,c)
return
res
end
function
cm
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
hspfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
aux
.
GCheckAdditional
=
cm
.
hspgcheck
...
...
@@ -110,6 +111,7 @@ function cm.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
else
return
false
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
tp
=
c
:
GetControler
()
local
sg
=
e
:
GetLabelObject
()
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
sg
:
DeleteGroup
()
...
...
expansions/script/c60000048.lua
View file @
d4801e99
...
...
@@ -2,7 +2,7 @@
local
m
=
60000048
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60000043
)
aux
.
AddCodeList
(
c
,
60000043
)
c
:
EnableReviveLimit
()
--spsummon limit
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -98,6 +98,7 @@ function cm.hspcon(e,c)
return
res
end
function
cm
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
hspfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
aux
.
GCheckAdditional
=
cm
.
hspgcheck
...
...
@@ -110,6 +111,7 @@ function cm.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
else
return
false
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
tp
=
c
:
GetControler
()
local
sg
=
e
:
GetLabelObject
()
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
sg
:
DeleteGroup
()
...
...
@@ -153,7 +155,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e3
)
end
Duel
.
BreakEffect
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
e
:
GetLabel
()
==
1
and
tc
:
IsSetCard
(
0x628
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
4
))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
...
...
expansions/script/c60000050.lua
View file @
d4801e99
...
...
@@ -75,6 +75,7 @@ function cm.sprcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
cm
.
sprfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
3
,
nil
)
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
tp
=
c
:
GetControler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
sprfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
3
,
3
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
...
...
expansions/script/c60000054.lua
View file @
d4801e99
...
...
@@ -2,7 +2,7 @@
local
m
=
60000054
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60000043
)
aux
.
AddCodeList
(
c
,
60000043
)
--Activate set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -30,10 +30,6 @@ function cm.initial_effect(c)
e3
:
SetTarget
(
cm
.
antg
)
e3
:
SetOperation
(
cm
.
anop
)
c
:
RegisterEffect
(
e3
)
if
cm
.
Anounce_Check_for_Hai
~=
true
then
cm
.
Anounce_Check_for_Hai
=
true
Anounce_Tab_for_Hai
=
{
0
,
0
}
end
end
--Activate set
function
cm
.
setfilter
(
c
)
...
...
@@ -78,9 +74,9 @@ end
function
cm
.
anop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MESSAGE
,
1
-
tp
,
aux
.
Stringid
(
m
,
0
))
Duel
.
Hint
(
HINT_MESSAGE
,
tp
,
aux
.
Stringid
(
m
,
0
))
Anounce_Tab_for_Hai
[
tp
]
=
Anounce_Tab_for_Hai
[
tp
]
+
1
Debug
.
Message
(
Anounce_Tab_for_Hai
[
tp
]
)
if
Anounce_Tab_for_Hai
[
tp
]
>
127
then
if
not
haiiA
then
haiiA
=
0
end
Debug
.
Message
(
haiiA
)
if
haiiA
>
127
then
local
lp
=
Duel
.
GetLP
(
1
-
tp
)
if
lp
>
8000
then
Duel
.
SetLP
(
1
-
tp
,
lp
-
8000
)
...
...
expansions/script/c60000091.lua
View file @
d4801e99
...
...
@@ -74,12 +74,14 @@ function cm.getfusionfilter(c,tp,tc)
end
function
cm
.
sprcon
(
e
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
if
c
==
nil
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
getfusionfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
tp
,
c
)
return
g
:
GetCount
()
>
0
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
getfusionfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
...
@@ -120,7 +122,7 @@ function cm.costcfilter(c)
end
function
cm
.
cacost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Debug
.
Message
(
Duel
.
IsExistingMatchingCard
(
cm
.
costcfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
))
--
Debug.Message(Duel.IsExistingMatchingCard(cm.costcfilter,tp,LOCATION_ONFIELD,0,1,nil))
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costcfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
costcfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
m
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
...
...
@@ -134,7 +136,7 @@ function cm.tgcfilter(c)
end
function
cm
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Debug
.
Message
(
Duel
.
IsExistingMatchingCard
(
cm
.
tgcfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
))
--
Debug.Message(Duel.IsExistingMatchingCard(cm.tgcfilter,tp,LOCATION_EXTRA,0,1,nil))
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgcfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
...
...
expansions/script/c98920219.lua
View file @
d4801e99
--化学结合-T2O
function
c98920219
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
85066822
,
6022371
,
98920218
,
58071123
,
98920217
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c98920430.lua
View file @
d4801e99
...
...
@@ -68,7 +68,7 @@ function c98920430.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c98920430
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
cc
=
e
:
GetLabelObject
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c98920430
.
filter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
cc
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
:
GetFirst
(),
0
,
tp
,
tp
,
true
,
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