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
25f17fce
Commit
25f17fce
authored
Oct 03, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f92ca7db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
expansions/script/special.lua
expansions/script/special.lua
+9
-3
No files found.
expansions/script/special.lua
View file @
25f17fce
...
@@ -184,19 +184,19 @@ function Auxiliary.PreloadUds()
...
@@ -184,19 +184,19 @@ function Auxiliary.PreloadUds()
end
end
end
end
local
_CreateEffect
=
Effect
.
CreateEffect
local
_CreateEffect
=
_
Effect
.
CreateEffect
function
Effect
.
CreateEffect
(
c
,
...
)
function
Effect
.
CreateEffect
(
c
,
...
)
if
aux
.
GetValueType
(
c
)
~=
"Card"
then
error
(
"Effect.CreateEffect没有输入正确的Card参数。"
,
2
)
return
end
if
aux
.
GetValueType
(
c
)
~=
"Card"
then
error
(
"Effect.CreateEffect没有输入正确的Card参数。"
,
2
)
return
end
local
e
=
_CreateEffect
(
c
,
...
)
local
e
=
_CreateEffect
(
c
,
...
)
if
e
and
c
then
effect_handler
[
e
]
=
c
end
if
e
and
c
then
effect_handler
[
e
]
=
c
end
return
e
return
e
end
end
local
_SetRange
=
Effect
.
SetRange
local
_SetRange
=
_
Effect
.
SetRange
function
Effect
.
SetRange
(
e
,
r
,
...
)
function
Effect
.
SetRange
(
e
,
r
,
...
)
if
e
and
r
then
table_range
[
e
]
=
r
end
if
e
and
r
then
table_range
[
e
]
=
r
end
return
_SetRange
(
e
,
r
,
...
)
return
_SetRange
(
e
,
r
,
...
)
end
end
local
_Clone
=
Effect
.
Clone
local
_Clone
=
_
Effect
.
Clone
function
Effect
.
Clone
(
e
,
...
)
function
Effect
.
Clone
(
e
,
...
)
local
clone_e
=
_Clone
(
e
,
...
)
local
clone_e
=
_Clone
(
e
,
...
)
if
e
and
clone_e
then
if
e
and
clone_e
then
...
@@ -237,6 +237,12 @@ function Auxiliary.PreloadUds()
...
@@ -237,6 +237,12 @@ function Auxiliary.PreloadUds()
elseif
e
:
IsHasType
(
EFFECT_TYPE_XMATERIAL
)
and
not
table_range
[
e
]
then
elseif
e
:
IsHasType
(
EFFECT_TYPE_XMATERIAL
)
and
not
table_range
[
e
]
then
table_range
[
e
]
=
LOCATION_OVERLAY
table_range
[
e
]
=
LOCATION_OVERLAY
end
end
if
e
:
IsHasType
(
EFFECT_TYPE_SINGLE
)
and
e
:
IsHasType
(
EFFECT_TYPE_TRIGGER_O
)
and
e
:
GetCode
()
==
EVENT_TO_DECK
and
not
c
:
IsExtraDeckMonster
()
then
e
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
:
SetRange
(
LOCATION_DECK
)
local
con
=
e
:
GetCondition
()
or
aux
.
TRUE
e
:
SetCondition
(
function
(
e
,
tp
,
eg
,
...
)
return
eg
:
IsContains
(
e
:
GetHandler
())
and
con
(
e
,
tp
,
eg
,
...
)
end
)
end
local
eid
=
_CRegisterEffect
(
c
,
e
,
...
)
local
eid
=
_CRegisterEffect
(
c
,
e
,
...
)
if
e
and
eid
then
effect_registered
[
e
]
=
true
end
if
e
and
eid
then
effect_registered
[
e
]
=
true
end
return
eid
return
eid
...
...
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