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
c1064d1a
Commit
c1064d1a
authored
Sep 17, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5dcc4fdf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
16 deletions
+21
-16
expansions/script/c11451644.lua
expansions/script/c11451644.lua
+6
-4
expansions/script/c11451734.lua
expansions/script/c11451734.lua
+1
-1
expansions/script/c11451745.lua
expansions/script/c11451745.lua
+5
-4
expansions/script/c22050280.lua
expansions/script/c22050280.lua
+1
-1
expansions/script/c38338886.lua
expansions/script/c38338886.lua
+8
-6
No files found.
expansions/script/c11451644.lua
View file @
c1064d1a
...
...
@@ -36,15 +36,17 @@ function cm.initial_effect(c)
local
_SpecialSummon
=
Duel
.
SpecialSummon
local
_SpecialSummonStep
=
Duel
.
SpecialSummonStep
function
Duel
.
SpecialSummon
(
tg
,
...
)
tg
:
KeepAlive
()
cm
[
1
]
=
tg
if
aux
.
GetValueType
(
tg
)
==
"Group"
then
tg
:
KeepAlive
()
cm
[
1
]
=
tg
end
return
_SpecialSummon
(
tg
,
...
)
end
function
Duel
.
SpecialSummonStep
(
tg
,
...
)
--[[
function Duel.SpecialSummonStep(tg,...)
tg:KeepAlive()
cm[1]=tg
return _SpecialSummonStep(tg,...)
end
end
--]]
end
end
function
cm
.
matfilter
(
c
)
...
...
expansions/script/c11451734.lua
View file @
c1064d1a
...
...
@@ -114,7 +114,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TO
HAND
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TO
GRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c11451745.lua
View file @
c1064d1a
...
...
@@ -26,9 +26,9 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
i
=
1
,
Duel
.
GetCurrentChain
()
do
local
tgp
,
te
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_EFFECT
)
local
tgp
,
te
,
cid
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_CHAIN_ID
)
if
tgp
~=
tp
then
te
:
SetOperation
(
cm
.
repop
(
te
:
GetOperation
()))
te
:
SetOperation
(
cm
.
repop
(
te
:
GetOperation
()
,
cid
))
--[[local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_SOLVING)
...
...
@@ -44,10 +44,11 @@ function cm.ngop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangeChainOperation
(
0
,
cm
.
repop
(
re
:
GetOperation
()))
end
end
function
cm
.
repop
(
_op
)
function
cm
.
repop
(
_op
,
cid
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
SetOperation
(
_op
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
then
return
end
local
cid2
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_CHAIN_ID
)
if
cid
==
cid2
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
then
return
end
_op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
\ No newline at end of file
expansions/script/c22050280.lua
View file @
c1064d1a
...
...
@@ -20,7 +20,7 @@ function c22050280.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EVENT_DETACH_MATERIAL
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
2205028
0
)
e2
:
SetCountLimit
(
1
,
2205028
1
)
e2
:
SetTarget
(
c22050280
.
xyztg
)
e2
:
SetOperation
(
c22050280
.
xyzop
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c38338886.lua
View file @
c1064d1a
...
...
@@ -82,15 +82,17 @@ function s.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
c
)
aux
.
GCheckAdditional
=
s
.
hspgcheck
local
res
=
g
:
CheckSubGroup
(
s
.
hspcheck
,
1
,
#
g
)
aux
.
GCheckAdditional
=
nil
--aux.GCheckAdditional=s.hspgcheck
--local res=g:CheckSubGroup(s.hspcheck,1,#g)
--aux.GCheckAdditional=nil
local
res
=
g
:
CheckWithSumGreater
(
Card
.
GetLevel
,
8
)
if
chk
==
0
then
return
res
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
aux
.
GCheckAdditional
=
s
.
hspgcheck
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
hspcheck
,
true
,
1
,
#
g
)
aux
.
GCheckAdditional
=
nil
--aux.GCheckAdditional=s.hspgcheck
--local sg=g:SelectSubGroup(tp,s.hspcheck,true,1,#g)
--aux.GCheckAdditional=nil
local
sg
=
g
:
SelectWithSumGreater
(
tp
,
Card
.
GetLevel
,
8
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_COST
)
end
function
s
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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