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
4c65bdc7
Commit
4c65bdc7
authored
Oct 11, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f6948963
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
expansions/script/c12835101.lua
expansions/script/c12835101.lua
+1
-0
expansions/script/c12835102.lua
expansions/script/c12835102.lua
+10
-8
expansions/script/c28351818.lua
expansions/script/c28351818.lua
+2
-0
expansions/script/c28352012.lua
expansions/script/c28352012.lua
+2
-0
No files found.
expansions/script/c12835101.lua
View file @
4c65bdc7
...
...
@@ -27,6 +27,7 @@ function c12835101.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EFFECT_PUBLIC
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCondition
(
c12835101
.
con
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
0x200
)
e5
:
SetTargetRange
(
2
,
0
)
c
:
RegisterEffect
(
e5
)
...
...
expansions/script/c12835102.lua
View file @
4c65bdc7
...
...
@@ -90,7 +90,7 @@ function c12835102.con6(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
seq
=
tc
:
GetSequence
()
local
tp
=
tc
:
GetControler
()
return
rp
==
1
-
tp
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)))
return
rp
==
1
-
tp
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
c
:
GetControler
(),
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
c
:
GetControler
()
,
LOCATION_MZONE
,
seq
+
1
)))
end
function
c12835102
.
op6
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12835102
,
1
))
then
...
...
@@ -102,13 +102,14 @@ function c12835102.op6(e,tp,eg,ep,ev,re,r,rp)
local
seq
=
tc
:
GetSequence
()
if
seq
>
4
then
return
end
local
flag
=
0
if
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
if
seq
>
0
and
Duel
.
CheckLocation
(
c
:
GetControler
()
,
LOCATION_MZONE
,
seq
-
1
)
then
flag
=
flag
|
(
1
<<
(
seq
-
1
))
end
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
if
seq
<
4
and
Duel
.
CheckLocation
(
c
:
GetControler
()
,
LOCATION_MZONE
,
seq
+
1
)
then
flag
=
flag
|
(
1
<<
(
seq
+
1
))
end
if
flag
==
0
then
return
end
Duel
.
Hint
(
3
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
~
flag
)
local
s
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
~
flag
)
if
c
:
GetControler
()
~=
tp
then
s
=
s
>>
16
end
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
tc
,
nseq
)
local
g
=
Group
.
CreateGroup
()
...
...
@@ -124,7 +125,7 @@ function c12835102.con62(e,tp,eg,ep,ev,re,r,rp)
local
seq
=
tc
:
GetSequence
()
local
tp
=
tc
:
GetControler
()
if
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
then
return
false
end
return
rp
==
1
-
tp
and
Duel
.
GetFlagEffect
(
tp
,
12835102
)
>
0
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)))
return
rp
==
1
-
tp
and
Duel
.
GetFlagEffect
(
tp
,
12835102
)
>
0
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
c
:
GetControler
(),
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
c
:
GetControler
()
,
LOCATION_MZONE
,
seq
+
1
)))
end
function
c12835102
.
op62
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12835102
,
2
))
then
...
...
@@ -137,13 +138,14 @@ function c12835102.op62(e,tp,eg,ep,ev,re,r,rp)
local
seq
=
tc
:
GetSequence
()
if
seq
>
4
then
return
end
local
flag
=
0
if
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
if
seq
>
0
and
Duel
.
CheckLocation
(
c
:
GetControler
()
,
LOCATION_MZONE
,
seq
-
1
)
then
flag
=
flag
|
(
1
<<
(
seq
-
1
))
end
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
if
seq
<
4
and
Duel
.
CheckLocation
(
c
:
GetControler
()
,
LOCATION_MZONE
,
seq
+
1
)
then
flag
=
flag
|
(
1
<<
(
seq
+
1
))
end
if
flag
==
0
then
return
end
Duel
.
Hint
(
3
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
~
flag
)
local
s
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
~
flag
)
if
c
:
GetControler
()
~=
tp
then
s
=
s
>>
16
end
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
tc
,
nseq
)
local
g
=
Group
.
CreateGroup
()
...
...
expansions/script/c28351818.lua
View file @
4c65bdc7
...
...
@@ -47,6 +47,7 @@ function c28351818.reop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e1
,
true
)
end
...
...
@@ -79,6 +80,7 @@ function c28351818.thop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e1
,
true
)
end
...
...
expansions/script/c28352012.lua
View file @
4c65bdc7
...
...
@@ -57,6 +57,7 @@ function c28352012.reop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e1
,
true
)
end
...
...
@@ -99,6 +100,7 @@ function c28352012.tdop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e1
,
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