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
Huangnan
no81cards
Commits
1e547df4
Commit
1e547df4
authored
Apr 19, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
feac604b
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
14 deletions
+21
-14
expansions/script/c14010198.lua
expansions/script/c14010198.lua
+1
-1
expansions/script/c25800009.lua
expansions/script/c25800009.lua
+1
-2
expansions/script/c25800342.lua
expansions/script/c25800342.lua
+4
-0
expansions/script/c29001624.lua
expansions/script/c29001624.lua
+1
-0
expansions/script/c29039869.lua
expansions/script/c29039869.lua
+6
-5
expansions/script/c29043245.lua
expansions/script/c29043245.lua
+2
-1
expansions/script/c29065521.lua
expansions/script/c29065521.lua
+1
-1
expansions/script/c29065523.lua
expansions/script/c29065523.lua
+1
-1
expansions/script/c42620018.lua
expansions/script/c42620018.lua
+2
-2
expansions/script/c47577322.lua
expansions/script/c47577322.lua
+2
-1
No files found.
expansions/script/c14010198.lua
View file @
1e547df4
...
...
@@ -68,5 +68,5 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
con
(
e
,
c
)
return
Duel
.
GetActivityCount
(
e
:
Get
Control
er
(),
ACTIVITY_BATTLE_PHASE
)
~=
0
return
Duel
.
GetActivityCount
(
e
:
Get
OwnerPlay
er
(),
ACTIVITY_BATTLE_PHASE
)
~=
0
end
\ No newline at end of file
expansions/script/c25800009.lua
View file @
1e547df4
...
...
@@ -7,9 +7,8 @@ function c25800009.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetProperty
(
EFFECT_FLAG_
DELAY
+
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
c25800009
.
srcon
)
e3
:
SetTarget
(
c25800009
.
destg
)
e3
:
SetOperation
(
c25800009
.
desop
)
...
...
expansions/script/c25800342.lua
View file @
1e547df4
...
...
@@ -58,6 +58,10 @@ function cm.remop2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsCanOverlay
()
and
c
:
IsType
(
TYPE_XYZ
)
then
local
og
=
rc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
rc
:
CancelToGrave
()
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
rc
))
end
...
...
expansions/script/c29001624.lua
View file @
1e547df4
...
...
@@ -33,6 +33,7 @@ function c29001624.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTarget
(
c29001624
.
tgtg
)
e4
:
SetValue
(
1
)
c
:
RegisterEffect
(
e4
)
...
...
expansions/script/c29039869.lua
View file @
1e547df4
...
...
@@ -32,14 +32,15 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
BreakEffect
()
Duel
.
ShuffleHand
(
tp
)
if
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsSetCard
(
0x87af
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
1152
)
then
if
tc
:
IsType
(
TYPE_MONSTER
)
and
(
tc
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
tc
:
GetCode
()]
and
_G
[
"c"
..
tc
:
GetCode
()].
named_with_Arknight
))
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
6459419
,
1
))
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
end
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
not
tc
then
return
end
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c29043245.lua
View file @
1e547df4
...
...
@@ -35,7 +35,8 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
and
#
sg
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
6459419
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
sg
=
sg
:
Select
(
tp
,
1
,
#
g
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
sg
=
sg
:
Select
(
tp
,
1
,
ft
>#
g
and
#
g
or
ft
,
nil
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsRelateToEffect
(
e
)
then
...
...
expansions/script/c29065521.lua
View file @
1e547df4
...
...
@@ -29,7 +29,7 @@ end
function
c29065521
.
spcon
(
e
,
c
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
(
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
==
0
or
Duel
.
IsExistingMatchingCard
(
c29065521
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
IsExistingMatchingCard
(
c29065521
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
c29065521
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanAddCounter
(
0x10ae
,
1
)
end
...
...
expansions/script/c29065523.lua
View file @
1e547df4
...
...
@@ -31,7 +31,7 @@ end
function
c29065523
.
spcon
(
e
,
c
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
(
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
==
0
or
Duel
.
IsExistingMatchingCard
(
c29065523
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
IsExistingMatchingCard
(
c29065523
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
c29065523
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c42620018.lua
View file @
1e547df4
...
...
@@ -167,7 +167,7 @@ function cm.LinkCondition(f,minc,maxc,gf)
if
not
aux
.
LConditionFilter
(
lmat
,
f
,
c
,
e
)
then
return
false
end
mg
:
AddCard
(
lmat
)
end
local
fg
=
aux
.
GetMustMaterialGroup
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
local
fg
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
if
fg
:
IsExists
(
aux
.
MustMaterialCounterFilter
,
1
,
nil
,
mg
)
then
return
false
end
Duel
.
SetSelectedCard
(
fg
)
return
mg
:
CheckSubGroup
(
cm
.
LCheckGoal
,
minc
,
maxc
,
tp
,
c
,
gf
,
lmat
)
...
...
@@ -194,7 +194,7 @@ function cm.LinkTarget(f,minc,maxc,gf)
if
not
aux
.
LConditionFilter
(
lmat
,
f
,
c
,
e
)
then
return
false
end
mg
:
AddCard
(
lmat
)
end
local
fg
=
aux
.
GetMustMaterialGroup
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
local
fg
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
Duel
.
SetSelectedCard
(
fg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_LMATERIAL
)
local
cancel
=
Duel
.
IsSummonCancelable
()
...
...
expansions/script/c47577322.lua
View file @
1e547df4
...
...
@@ -20,8 +20,9 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetProperty
(
EFFECT_FLAG_D
ELAY
+
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
spcon1
)
e2
:
SetTarget
(
s
.
sptg1
)
e2
:
SetOperation
(
s
.
spop1
)
...
...
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