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
42aac211
Commit
42aac211
authored
Nov 06, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
26db02e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/script/c33710912.lua
expansions/script/c33710912.lua
+1
-1
expansions/script/c61000020.lua
expansions/script/c61000020.lua
+4
-3
expansions/script/c61000025.lua
expansions/script/c61000025.lua
+1
-1
expansions/script/c61000027.lua
expansions/script/c61000027.lua
+1
-1
No files found.
expansions/script/c33710912.lua
View file @
42aac211
...
@@ -39,7 +39,7 @@ function c33710912.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -39,7 +39,7 @@ function c33710912.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
sum
-
sum1
)
e
:
SetLabel
(
sum
-
sum1
)
end
end
function
c33710912
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33710912
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c33710912
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c33710912
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
nil
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
nil
,
tp
,
LOCATION_GRAVE
)
end
end
function
c33710912
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33710912
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c61000020.lua
View file @
42aac211
...
@@ -14,6 +14,7 @@ function s.initial_effect(c)
...
@@ -14,6 +14,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
s
.
eqcon
)
e2
:
SetCondition
(
s
.
eqcon
)
e2
:
SetTarget
(
s
.
eqtg
)
e2
:
SetTarget
(
s
.
eqtg
)
...
@@ -43,13 +44,13 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,13 +44,13 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
cfilter
(
c
,
tp
)
function
s
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x
67
c0
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
return
c
:
IsSetCard
(
0x
39
c0
)
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
end
function
s
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
s
.
eqfilter
(
c
)
function
s
.
eqfilter
(
c
)
return
c
:
IsSetCard
(
0x
67
c0
)
and
c
:
IsDefenseAbove
(
1
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x
39
c0
)
and
c
:
IsDefenseAbove
(
1
)
and
not
c
:
IsForbidden
()
end
end
function
s
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
@@ -71,7 +72,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +72,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
eqfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
eqfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
not
c
:
IsRelateToEffect
(
e
)
or
ft
<=
0
or
g
:
GetCount
()
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
ft
<=
0
or
g
:
GetCount
()
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
eqmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
eqmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
if
tc
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
eqgrfilter
,
false
,
1
,
ft
,
def
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
eqgrfilter
,
false
,
1
,
ft
,
def
)
...
...
expansions/script/c61000025.lua
View file @
42aac211
...
@@ -36,7 +36,7 @@ function s.eqfilter(c,tp)
...
@@ -36,7 +36,7 @@ function s.eqfilter(c,tp)
end
end
function
s
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
0
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
0
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c61000027.lua
View file @
42aac211
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_EQUIP
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
descon
)
e1
:
SetCondition
(
s
.
descon
)
...
...
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