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
09b71e44
Commit
09b71e44
authored
Mar 24, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fa0acf16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/script/c53796138.lua
expansions/script/c53796138.lua
+28
-0
No files found.
expansions/no81.cdb
View file @
09b71e44
No preview for this file type
expansions/script/c53796138.lua
View file @
09b71e44
...
...
@@ -13,6 +13,11 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_ADJUST
)
ge1
:
SetOperation
(
cm
.
adjust
)
Duel
.
RegisterEffect
(
ge1
,
0
)
cm
[
1
]
=
Duel
.
CreateToken
Duel
.
CreateToken
=
function
(
tp
,
code
)
local
tc
=
cm
[
1
](
tp
,
code
)
...
...
@@ -179,5 +184,28 @@ function cm.initial_effect(c)
return
0
else
return
cm
[
16
](
tg
,
...
)
end
end
local
f1
=
Card
.
SetEntityCode
Card
.
SetEntityCode
=
function
(
sc
,
code
,
...
)
local
ocode
=
sc
:
GetOriginalCode
()
if
sc
:
GetFlagEffect
(
m
+
500
)
<=
0
then
sc
:
RegisterFlagEffect
(
m
+
500
,
0
,
0
,
0
,
ocode
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsHasEffect
,
0
,
LOCATION_EXTRA
,
LOCATION_EXTRA
,
nil
,
m
)
if
not
sc
:
IsOnField
()
and
ocode
~=
11410000
and
code
~=
sc
:
GetFlagEffectLabel
(
m
+
500
)
and
#
g
>
0
then
Frame_Replace_Check
=
true
local
sg
=
g
:
RandomSelect
(
0
,
1
)
Duel
.
ConfirmCards
(
0
,
sg
)
Duel
.
ConfirmCards
(
1
,
sg
)
return
0
else
return
f1
(
sc
,
code
,
...
)
end
end
local
f2
=
Card
.
ReplaceEffect
Card
.
ReplaceEffect
=
function
(
sc
,
code
,
...
)
if
Frame_Replace_Check
then
Frame_Replace_Check
=
false
return
0
else
return
f2
(
sc
,
code
,
...
)
end
end
end
end
function
cm
.
adjust
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Frame_Replace_Check
=
false
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