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
adba2c5e
Commit
adba2c5e
authored
Oct 19, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2111fddb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
14 deletions
+5
-14
expansions/script/c11451838.lua
expansions/script/c11451838.lua
+2
-2
expansions/script/c11451892.lua
expansions/script/c11451892.lua
+1
-1
expansions/script/c22022090.lua
expansions/script/c22022090.lua
+0
-1
expansions/script/c22348226.lua
expansions/script/c22348226.lua
+1
-1
expansions/script/c60002372.lua
expansions/script/c60002372.lua
+1
-9
No files found.
expansions/script/c11451838.lua
View file @
adba2c5e
...
@@ -78,7 +78,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,7 +78,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
setfilter
(
c
,
e
,
tp
)
function
cm
.
setfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9977
)
and
((
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
c
:
IsSSetable
())
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9977
)
and
((
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
)
or
c
:
IsSSetable
())
end
end
function
cm
.
spfilter
(
c
,
se
)
function
cm
.
spfilter
(
c
,
se
)
if
not
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
then
return
false
end
if
not
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
then
return
false
end
...
@@ -107,7 +107,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -107,7 +107,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
res
=
false
local
res
=
false
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
not
tc
:
IsSSetable
()
or
Duel
.
SelectYesNo
(
tp
,
Stringid
(
m
,
3
)))
then
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
(
not
tc
:
IsSSetable
()
or
Duel
.
SelectYesNo
(
tp
,
Stringid
(
m
,
3
)))
then
res
=
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
res
=
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
else
else
res
=
Duel
.
SSet
(
tp
,
tc
)
>
0
res
=
Duel
.
SSet
(
tp
,
tc
)
>
0
...
...
expansions/script/c11451892.lua
View file @
adba2c5e
...
@@ -45,7 +45,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
cg
=
tc
:
GetColumnGroup
()
local
cg
=
tc
:
GetColumnGroup
()
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
ac
,
cg
)
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
ac
,
cg
)
if
#
dg
>
0
and
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
checkfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
if
#
dg
>
0
and
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
checkfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsControler
,
nil
,
1
-
tp
)
local
g
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
Is
Previous
Controler
,
nil
,
1
-
tp
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c22022090.lua
View file @
adba2c5e
...
@@ -23,7 +23,6 @@ function c22022090.initial_effect(c)
...
@@ -23,7 +23,6 @@ function c22022090.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
22022090
)
e2
:
SetTarget
(
c22022090
.
thtg
)
e2
:
SetTarget
(
c22022090
.
thtg
)
e2
:
SetOperation
(
c22022090
.
thop
)
e2
:
SetOperation
(
c22022090
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c22348226.lua
View file @
adba2c5e
...
@@ -87,7 +87,7 @@ function c22348226.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c22348226.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
-
400
)
e1
:
SetValue
(
-
400
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
if
preatk
~=
0
and
tc
:
IsAttack
(
0
)
then
dg
:
AddCard
(
tc
)
end
if
preatk
~=
0
and
tc
:
IsAttack
(
0
)
then
dg
:
AddCard
(
tc
)
end
t
t
c
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c60002372.lua
View file @
adba2c5e
...
@@ -156,19 +156,11 @@ if not cm.enable_all_setname then
...
@@ -156,19 +156,11 @@ if not cm.enable_all_setname then
end
end
end
end
function
cm
.
con
(
e
,
tp
)
function
cm
.
con
(
e
,
tp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
return
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_EXTRA
,
1
,
nil
,
m
)
end
end
function
cm
.
op
(
e
,
tp
)
function
cm
.
op
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
DuelModeChange
.
TwoPick1
(
tp
)
DuelModeChange
.
TwoPick1
(
tp
)
DuelModeChange
.
TwoPick1
(
1
-
tp
)
if
Duel
.
GetFlagEffect
(
1
-
tp
,
m
+
10000000
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
m
+
10000000
,
RESET_PHASE
+
PHASE_END
,
0
,
1000
)
else
DuelModeChange
.
TwoPick1
(
tp
)
DuelModeChange
.
TwoPick1
(
1
-
tp
)
end
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1000
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1000
)
end
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