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
f6f7763c
Commit
f6f7763c
authored
Jul 02, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e42a02bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
38 deletions
+16
-38
expansions/script/c29002020.lua
expansions/script/c29002020.lua
+15
-37
expansions/script/c29065509.lua
expansions/script/c29065509.lua
+1
-1
No files found.
expansions/script/c29002020.lua
View file @
f6f7763c
...
...
@@ -19,34 +19,34 @@ function c29002020.initial_effect(c)
e2
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e2
:
SetValue
(
c29002020
.
splimit
)
c
:
RegisterEffect
(
e2
)
--i
ndes
--i
mmune
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
29002020
,
1
))
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c29002020
.
itarget
)
e3
:
SetOperation
(
c29002020
.
ioperation
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetValue
(
c29002020
.
efilter
)
c
:
RegisterEffect
(
e3
)
end
function
c29002020
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
end
function
c29002020
.
hspfilter
(
c
,
ft
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
and
(
ft
>
0
or
c
:
IsControler
(
tp
))
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c29002020
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
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
.
GetLocationCountFromEx
(
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
))
)
return
x
>=
12
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
Duel
.
CheckReleaseGroup
(
tp
,
c29002020
.
mfilter
,
3
,
nil
,
ft
,
tp
)
end
function
c29002020
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
if
Duel
.
GetFlagEffect
(
tp
,
29096814
)
==
1
then
Duel
.
ResetFlagEffect
(
tp
,
29096814
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x10ae
,
2
,
REASON_RULE
)
else
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x10ae
,
3
,
REASON_RULE
)
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c29002020
.
mfilter
,
3
,
3
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_RULE
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -55,28 +55,6 @@ function c29002020.sprop(e,tp,eg,ep,ev,re,r,rp,c)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c29002020
.
itarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
end
end
function
c29002020
.
ioperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetValue
(
c29002020
.
efilter
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetOwnerPlayer
(
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
29002020
,
2
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
29002020
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e3
:
SetTargetRange
(
1
,
0
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
function
c29002020
.
efilter
(
e
,
te
)
if
te
:
GetOwnerPlayer
()
==
e
:
GetHandlerPlayer
()
then
return
false
end
if
not
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
true
end
...
...
expansions/script/c29065509.lua
View file @
f6f7763c
...
...
@@ -2,7 +2,7 @@
c29065509
.
named_with_Arknight
=
1
function
c29065509
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedureLevelFree
(
c
,
c29065509
.
mfilter
,
aux
.
TRUE
,
2
,
2
)
aux
.
AddXyzProcedureLevelFree
(
c
,
c29065509
.
mfilter
,
aux
.
TRUE
,
3
,
3
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
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