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
a2c20316
Commit
a2c20316
authored
Jan 12, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b9ae2ca1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
184 additions
and
191 deletions
+184
-191
expansions/script/c10171001.lua
expansions/script/c10171001.lua
+139
-181
expansions/script/c60002431.lua
expansions/script/c60002431.lua
+10
-10
expansions/script/c9910953.lua
expansions/script/c9910953.lua
+35
-0
No files found.
expansions/script/c10171001.lua
View file @
a2c20316
This diff is collapsed.
Click to expand it.
expansions/script/c60002431.lua
View file @
a2c20316
...
@@ -36,29 +36,29 @@ end
...
@@ -36,29 +36,29 @@ end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ac
=
g
:
GetFirst
()
local
ac
=
g
:
GetFirst
()
local
num
=#
g
local
ag
=
Group
.
CreateGroup
()
for
i
=
1
,
num
do
for
i
=
1
,
#
g
do
if
talon
[
ac
:
GetCode
()]
=
=
nil
then
if
talon
[
ac
:
GetCode
()]
~
=
nil
then
g
:
Remove
Card
(
ac
)
ag
:
Add
Card
(
ac
)
end
end
ac
=
g
:
GetNext
()
ac
=
g
:
GetNext
()
end
end
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
if
chk
==
0
then
return
a
g
:
GetCount
()
>
0
end
end
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--Debug.Message("a")
--Debug.Message("a")
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ac
=
g
:
GetFirst
()
local
ac
=
g
:
GetFirst
()
local
ag
=
Group
.
CreateGroup
()
for
i
=
1
,
#
g
do
for
i
=
1
,
#
g
do
if
talon
[
ac
:
GetCode
()]
=
=
nil
then
if
talon
[
ac
:
GetCode
()]
~
=
nil
then
g
:
Remove
Card
(
ac
)
ag
:
Add
Card
(
ac
)
end
end
ac
=
g
:
GetNext
()
ac
=
g
:
GetNext
()
end
end
--Debug.Message("b")
if
ag
:
GetCount
()
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
--Debug.Message("c")
local
sg
=
ag
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
local
ace
=
talon
[
sg
:
GetFirst
():
GetCode
()]
local
ace
=
talon
[
sg
:
GetFirst
():
GetCode
()]
cm
.
ActivateEffect
(
ace
,
tp
,
e
)
cm
.
ActivateEffect
(
ace
,
tp
,
e
)
...
...
expansions/script/c9910953.lua
View file @
a2c20316
...
@@ -84,6 +84,16 @@ function c9910953.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,6 +84,16 @@ function c9910953.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
e2
:
SetLabelObject
(
e3
)
e2
:
SetLabelObject
(
e3
)
e3
:
SetLabelObject
(
tc
)
e3
:
SetLabelObject
(
tc
)
--chk
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
e0
:
SetLabelObject
(
e2
)
e0
:
SetOperation
(
c9910953
.
chk
)
tc
:
RegisterEffect
(
e0
)
tc
:
RegisterFlagEffect
(
9910953
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
9910953
,
1
))
end
end
end
end
end
end
...
@@ -98,3 +108,28 @@ function c9910953.effectfilter(e,ct)
...
@@ -98,3 +108,28 @@ function c9910953.effectfilter(e,ct)
end
end
return
tc
and
tc
==
te
:
GetHandler
()
return
tc
and
tc
==
te
:
GetHandler
()
end
end
function
c9910953
.
chk
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e2
=
e
:
GetLabelObject
()
local
e3
=
e2
:
GetLabelObject
()
local
te
=
c
:
GetReasonEffect
()
if
c
:
GetFlagEffect
(
9910953
)
==
0
or
not
te
or
not
te
:
IsActivated
()
or
te
:
GetHandler
()
~=
c
then
e2
:
Reset
()
e3
:
Reset
()
else
--reset
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_CHAIN_END
)
e0
:
SetLabelObject
(
e3
)
e0
:
SetOperation
(
c9910953
.
resetop
)
Duel
.
RegisterEffect
(
e0
,
tp
)
end
end
function
c9910953
.
resetop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e3
=
e
:
GetLabelObject
()
local
e4
=
e3
:
GetLabelObject
()
e3
:
Reset
()
e4
:
Reset
()
e
:
Reset
()
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