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
e1595301
Commit
e1595301
authored
May 02, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
30b034a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
expansions/script/c29002020.lua
expansions/script/c29002020.lua
+1
-1
expansions/script/c29005360.lua
expansions/script/c29005360.lua
+4
-1
expansions/script/c29065542.lua
expansions/script/c29065542.lua
+7
-5
No files found.
expansions/script/c29002020.lua
View file @
e1595301
...
...
@@ -38,7 +38,7 @@ function c29002020.sprcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
x
=
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SUMMON
)
+
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SPSUMMON
)
+
Duel
.
GetActivityCount
(
1
-
tp
,
ACTIVITY_SUMMON
)
+
Duel
.
GetActivityCount
(
1
-
tp
,
ACTIVITY_SPSUMMON
)
return
x
>=
12
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
(
Duel
.
IsCanRemoveCounter
(
c
:
GetControler
(),
1
,
0
,
0x10ae
,
3
,
REASON_COST
)
or
(
Duel
.
GetFlagEffect
(
tp
,
29096814
)
==
1
and
Duel
.
IsCanRemoveCounter
(
c
:
GetControler
(),
1
,
0
,
0x10ae
,
2
,
REASON_COST
)))
return
x
>=
12
and
Duel
.
GetLocationCount
FromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
(
Duel
.
IsCanRemoveCounter
(
c
:
GetControler
(),
1
,
0
,
0x10ae
,
3
,
REASON_COST
)
or
(
Duel
.
GetFlagEffect
(
tp
,
29096814
)
==
1
and
Duel
.
IsCanRemoveCounter
(
c
:
GetControler
(),
1
,
0
,
0x10ae
,
2
,
REASON_COST
)))
end
function
c29002020
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
if
Duel
.
GetFlagEffect
(
tp
,
29096814
)
==
1
then
...
...
expansions/script/c29005360.lua
View file @
e1595301
...
...
@@ -89,7 +89,7 @@ function cm.tkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
cm
.
ArcKnightPCardFilter
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
cm
.
ArcKnightPCardFilter
1
))
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
@@ -289,6 +289,9 @@ end
function
cm
.
ArcKnightPCardFilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
and
c
:
IsType
(
TYPE_PENDULUM
)
end
function
cm
.
ArcKnightPCardFilter1
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
cm
.
ArcKnightPCardCheck
(
e
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
ArcKnightPCardFilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
expansions/script/c29065542.lua
View file @
e1595301
...
...
@@ -44,15 +44,14 @@ function c29065542.cxyzop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_PRE_BATTLE_DAMAGE
)
e3
:
SetCondition
(
c29065542
.
xdamcon
)
e3
:
SetOperation
(
c29065542
.
xdamop
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e3
:
SetValue
(
c29065542
.
atkval
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_
PIERCE
)
e4
:
SetCode
(
EFFECT_
CANNOT_DIRECT_ATTACK
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -76,6 +75,9 @@ function c29065542.cxyzop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c29065542
.
retop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c29065542
.
atkval
(
e
,
c
)
return
c
:
GetAttack
()
*
3
end
function
c29065542
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffectLabel
(
29065542
)
~=
e
:
GetLabel
()
then
...
...
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