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
4af4efde
Commit
4af4efde
authored
Feb 29, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
13d250f3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
14 deletions
+21
-14
expansions/script/c11451556.lua
expansions/script/c11451556.lua
+3
-2
expansions/script/c15003062.lua
expansions/script/c15003062.lua
+2
-0
expansions/script/c33700402.lua
expansions/script/c33700402.lua
+2
-2
expansions/script/c33701348.lua
expansions/script/c33701348.lua
+13
-10
expansions/script/c33701450.lua
expansions/script/c33701450.lua
+1
-0
No files found.
expansions/script/c11451556.lua
View file @
4af4efde
...
...
@@ -66,7 +66,7 @@ function cm.GetLinkMaterials(tp,f,lc)
return
mg
end
function
cm
.
LCheckGoal
(
sg
,
tp
,
lc
,
gf
,
lmat
)
return
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
))
and
not
sg
:
IsExists
(
Auxiliary
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
not
sg
:
IsExists
(
cm
.
fdfilter
,
4
,
nil
)
return
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
))
and
not
sg
:
IsExists
(
Auxiliary
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
sg
:
IsExists
(
aux
.
NOT
(
cm
.
fdfilter
),
1
,
nil
)
end
function
cm
.
LinkCondition
(
f
,
minc
,
maxc
,
gf
)
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
...
...
@@ -205,6 +205,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetOwnerPlayer
(
tp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
else
...
...
@@ -213,5 +214,5 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
condition
(
e
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
Duel
.
GetTurnPlayer
()
~=
e
:
GetOwnerPlayer
()
end
\ No newline at end of file
expansions/script/c15003062.lua
View file @
4af4efde
...
...
@@ -25,6 +25,8 @@ function cm.filter(c)
return
c
:
IsCode
(
15003062
)
and
not
c
:
IsPublic
()
end
function
cm
.
lmop
(
e
)
if
cm
[
0
]
then
return
end
cm
[
0
]
=
true
local
c
=
e
:
GetHandler
()
local
tp
=
c
:
GetControler
()
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
...
...
expansions/script/c33700402.lua
View file @
4af4efde
...
...
@@ -17,12 +17,12 @@ function c33700402.initial_effect(c)
end
function
c33700402
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ecount
=
Duel
.
GetCustomActivityCount
(
33700302
,
1
-
tp
,
ACTIVITY_CHAIN
)
return
ecount
>=
7
return
ecount
>=
7
and
Duel
.
GetCurrentPhase
()
~=
PHASE_END
end
function
c33700402
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ecount
=
Duel
.
GetCustomActivityCount
(
33700302
,
1
-
tp
,
ACTIVITY_CHAIN
)
local
cph
=
Duel
.
GetCurrentPhase
()
local
turn
=
{
PHASE_STANDBY
,
PHASE_MAIN1
,
PHASE_BATTLE
,
PHASE_MAIN2
,
PHASE_END
}
local
turn
=
{
PHASE_STANDBY
,
PHASE_MAIN1
,
PHASE_BATTLE
,
PHASE_MAIN2
}
for
_
,
ph
in
pairs
(
turn
)
do
if
cph
<=
ph
then
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
ph
,
RESET_PHASE
+
PHASE_END
,
1
)
...
...
expansions/script/c33701348.lua
View file @
4af4efde
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetTargetRange
(
POS_FACEUP
,
1
)
e1
:
SetTargetRange
(
POS_FACEUP
,
0
)
e1
:
SetCondition
(
cm
.
spcon
)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -29,10 +29,11 @@ function cm.spcon(e,c)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
c
=
e
:
GetHandler
()
local
res
=
false
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
3
,
3
,
nil
)
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
-
tp
)
then
e
:
SetTargetRange
(
POS_FACEUP
,
0
)
res
=
true
end
local
sg
=
Group
.
CreateGroup
()
local
tc
=
g
:
GetFirst
()
...
...
@@ -57,6 +58,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
Duel
.
RegisterEffect
(
e2
,
tp
)
if
res
then
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -65,6 +67,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e3
:
SetLabelObject
(
c
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
GetControl
(
e
:
GetLabelObject
(),
1
-
tp
)
...
...
expansions/script/c33701450.lua
View file @
4af4efde
...
...
@@ -26,6 +26,7 @@ function cm.initial_effect(c)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e7
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e7
:
SetCode
(
EVENT_DRAW
)
e7
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_CHAIN
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCondition
(
cm
.
con1
)
e7
:
SetTarget
(
cm
.
tg1
)
...
...
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