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
46e9ee66
Commit
46e9ee66
authored
Nov 28, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c467c9ef
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
11 deletions
+12
-11
expansions/script/c28318460.lua
expansions/script/c28318460.lua
+0
-1
expansions/script/c44401030.lua
expansions/script/c44401030.lua
+1
-1
expansions/script/c51927045.lua
expansions/script/c51927045.lua
+1
-1
expansions/script/c51927071.lua
expansions/script/c51927071.lua
+1
-1
expansions/script/c51927072.lua
expansions/script/c51927072.lua
+1
-1
expansions/script/c51927073.lua
expansions/script/c51927073.lua
+1
-1
expansions/script/c51927074.lua
expansions/script/c51927074.lua
+1
-1
expansions/script/c51927075.lua
expansions/script/c51927075.lua
+1
-1
expansions/script/c60152902.lua
expansions/script/c60152902.lua
+1
-1
expansions/script/c60152903.lua
expansions/script/c60152903.lua
+0
-2
expansions/script/special.lua
expansions/script/special.lua
+4
-0
No files found.
expansions/script/c28318460.lua
View file @
46e9ee66
...
...
@@ -52,7 +52,6 @@ function c28318460.activate(e,tp,eg,ep,ev,re,r,rp,op)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c28318460
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
tc
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsPreviousLocation
(
LOCATION_DECK
)
then
...
...
expansions/script/c44401030.lua
View file @
46e9ee66
...
...
@@ -50,7 +50,7 @@ function c44401030.activate(e,tp,eg,ep,ev,re,r,rp)
for
tc
in
aux
.
Next
(
g
)
do
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
44401030
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
44401030
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
...
...
expansions/script/c51927045.lua
View file @
46e9ee66
...
...
@@ -83,5 +83,5 @@ function c51927045.operation(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterEffect
(
e1
)
end
function
c51927045
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
se
==
nil
return
se
==
nil
or
not
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
expansions/script/c51927071.lua
View file @
46e9ee66
...
...
@@ -47,7 +47,7 @@ function c51927071.checkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
51927071
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCondition
(
c51927071
.
indcon
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c51927072.lua
View file @
46e9ee66
...
...
@@ -62,7 +62,7 @@ function c51927072.checkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
51927072
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCondition
(
c51927072
.
indcon
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c51927073.lua
View file @
46e9ee66
...
...
@@ -52,7 +52,7 @@ function c51927073.checkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
51927073
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCondition
(
c51927073
.
indcon
)
e1
:
SetValue
(
c51927073
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c51927074.lua
View file @
46e9ee66
...
...
@@ -49,7 +49,7 @@ function c51927074.checkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
51927074
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCondition
(
c51927074
.
indcon
)
e1
:
SetValue
(
aux
.
tgoval
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c51927075.lua
View file @
46e9ee66
...
...
@@ -53,7 +53,7 @@ function c51927075.checkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
51927075
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCondition
(
c51927075
.
indcon
)
e1
:
SetValue
(
c51927075
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c60152902.lua
View file @
46e9ee66
...
...
@@ -128,7 +128,7 @@ function c60152902.e2opfilter(c)
end
function
c60152902
.
e2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
p
=
PLAYER_ALL
if
chk
==
0
then
return
not
Duel
.
GetFlagEffect
(
1
-
tp
,
60152902
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
1
-
tp
,
60152902
)
>
0
end
Duel
.
SetTargetPlayer
(
p
)
Duel
.
SetTargetParam
(
1000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
p
,
1000
)
...
...
expansions/script/c60152903.lua
View file @
46e9ee66
...
...
@@ -57,11 +57,9 @@ function c60152903.checkop(e,tp,eg,ep,ev,re,r,rp)
local
c0
,
c1
=
Duel
.
GetBattleMonster
(
0
)
if
c60152903
.
check
(
c0
)
then
Duel
.
RegisterFlagEffect
(
0
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Debug
.
Message
(
Duel
.
GetFlagEffect
(
tp
,
60152903
))
end
if
c60152903
.
check
(
c1
)
then
Duel
.
RegisterFlagEffect
(
1
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Debug
.
Message
(
Duel
.
GetFlagEffect
(
tp
,
60152903
))
end
end
function
c60152903
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/special.lua
View file @
46e9ee66
...
...
@@ -12,6 +12,7 @@ function Auxiliary.PreloadUds()
local
_Group
=
tableclone
(
Group
)
EFFECT_FLAG_CANNOT_NEGATE
=
EFFECT_FLAG_CANNOT_NEGATE
or
0x200
EFFECT_FLAG_CAN_FORBIDDEN
=
EFFECT_FLAG_CAN_FORBIDDEN
or
0x200
function
require
(
str
)
require_list
=
require_list
or
{}
...
...
@@ -123,6 +124,8 @@ function Auxiliary.PreloadUds()
local
_CRegisterEffect
=
Card
.
RegisterEffect
function
Card
.
RegisterEffect
(
c
,
e
,
...
)
if
aux
.
GetValueType
(
c
)
~=
"Card"
then
Debug
.
Message
(
"Card.RegisterEffect没有输入正确的Card参数。"
)
return
end
if
aux
.
GetValueType
(
e
)
~=
"Effect"
then
Debug
.
Message
(
"Card.RegisterEffect没有输入正确的Effect参数。"
)
return
end
local
eid
=
_CRegisterEffect
(
c
,
e
,
...
)
effect_registered
=
effect_registered
or
{}
if
e
and
eid
then
effect_registered
[
e
]
=
true
end
...
...
@@ -130,6 +133,7 @@ function Auxiliary.PreloadUds()
end
local
_DRegisterEffect
=
Duel
.
RegisterEffect
function
Duel
.
RegisterEffect
(
e
,
p
,
...
)
if
aux
.
GetValueType
(
e
)
~=
"Effect"
then
Debug
.
Message
(
"Duel.RegisterEffect没有输入正确的Effect参数。"
)
return
end
_DRegisterEffect
(
e
,
p
,
...
)
effect_registered
=
effect_registered
or
{}
if
e
then
effect_registered
[
e
]
=
true
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