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
2f244980
Commit
2f244980
authored
Apr 17, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a81d1c18
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
29 deletions
+26
-29
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/script/c40009560.lua
expansions/script/c40009560.lua
+1
-1
expansions/script/c79029513.lua
expansions/script/c79029513.lua
+4
-8
expansions/script/c79029570.lua
expansions/script/c79029570.lua
+2
-2
expansions/script/c79029579.lua
expansions/script/c79029579.lua
+0
-1
expansions/script/c79029580.lua
expansions/script/c79029580.lua
+1
-1
expansions/script/c9910116.lua
expansions/script/c9910116.lua
+2
-2
expansions/script/c9910230.lua
expansions/script/c9910230.lua
+1
-1
expansions/script/c9910460.lua
expansions/script/c9910460.lua
+12
-12
expansions/strings.conf
expansions/strings.conf
+3
-1
No files found.
expansions/no81.cdb
View file @
2f244980
No preview for this file type
expansions/script/c40009560.lua
View file @
2f244980
...
@@ -7,7 +7,6 @@ function c40009560.initial_effect(c)
...
@@ -7,7 +7,6 @@ function c40009560.initial_effect(c)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetOperation
(
c40009560
.
op
)
e1
:
SetOperation
(
c40009560
.
op
)
e1
:
SetCountLimit
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
@@ -16,6 +15,7 @@ function c40009560.initial_effect(c)
...
@@ -16,6 +15,7 @@ function c40009560.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c40009560
.
con
)
e3
:
SetCondition
(
c40009560
.
con
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--spsummon
--spsummon
...
...
expansions/script/c79029513.lua
View file @
2f244980
...
@@ -121,18 +121,14 @@ function c79029513.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -121,18 +121,14 @@ function c79029513.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
ag
=
e
:
GetHandler
():
GetOverlayCount
()
ag
=
e
:
GetHandler
():
GetOverlayCount
()
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
ag
,
ag
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
ag
,
ag
,
REASON_COST
)
e
:
SetLabel
(
ag
)
end
end
function
c79029513
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79029513
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ag
=
e
:
GetLabel
()
if
not
ag
or
ag
<=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetTargetRange
(
0
,
LOCATION_ONFIELD
+
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_EXTRA
+
LOCATION_HAND
+
LOCATION_REMOVED
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTarget
(
c79029513
.
actfilter
)
e1
:
SetValue
(
aux
.
TRUE
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
ag
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
ag
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c79029513
.
actfilter
(
e
,
c
)
function
c79029513
.
actfilter
(
e
,
c
)
...
...
expansions/script/c79029570.lua
View file @
2f244980
...
@@ -35,7 +35,7 @@ function c79029570.initial_effect(c)
...
@@ -35,7 +35,7 @@ function c79029570.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_DISABLE_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_DISABLE_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
f
f1
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
a9
f1
))
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -74,7 +74,7 @@ end
...
@@ -74,7 +74,7 @@ end
function
c79029570
.
linkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
function
c79029570
.
linkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
end
end
function
c79029570
.
mattg
(
e
,
c
)
function
c79029570
.
mattg
(
e
,
c
)
return
c
:
IsSetCard
(
0x
f
f1
)
and
not
c
:
IsCode
(
79029570
)
return
c
:
IsSetCard
(
0x
a9
f1
)
and
not
c
:
IsCode
(
79029570
)
end
end
function
c79029570
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79029570
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
GetFirst
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
eg
:
GetFirst
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
...
...
expansions/script/c79029579.lua
View file @
2f244980
...
@@ -66,7 +66,6 @@ function c79029579.datg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,7 +66,6 @@ function c79029579.datg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
2
,
tp
,
0
)
end
end
function
c79029579
.
daop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79029579
.
daop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc1
=
Duel
.
GetFirstTarget
()
local
tc1
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c79029580.lua
View file @
2f244980
...
@@ -30,7 +30,7 @@ function c79029580.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c79029580.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c79029580
.
spfilter
(
c
,
ft
)
function
c79029580
.
spfilter
(
c
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
f
f1
)
and
c
:
IsAbleToHandAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
a9
f1
)
and
c
:
IsAbleToHandAsCost
()
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
end
function
c79029580
.
spcon
(
e
,
c
)
function
c79029580
.
spcon
(
e
,
c
)
...
...
expansions/script/c9910116.lua
View file @
2f244980
...
@@ -43,9 +43,9 @@ function c9910116.gyfilter(c,g)
...
@@ -43,9 +43,9 @@ function c9910116.gyfilter(c,g)
end
end
function
c9910116
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910116
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c9910116
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
then
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c9910116
.
spfilter
)
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910116
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c9910116
.
spfilter
)
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
end
end
...
...
expansions/script/c9910230.lua
View file @
2f244980
...
@@ -31,7 +31,7 @@ function c9910230.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function c9910230.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c9910230
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910230
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910230
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c9910230
.
spfilter
)
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
expansions/script/c9910460.lua
View file @
2f244980
...
@@ -14,14 +14,14 @@ function c9910460.initial_effect(c)
...
@@ -14,14 +14,14 @@ function c9910460.initial_effect(c)
e1
:
SetOperation
(
c9910460
.
spop
)
e1
:
SetOperation
(
c9910460
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--negate
--negate
local
e
3
=
Effect
.
CreateEffect
(
c
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_COUNTER
)
e
2
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_COUNTER
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
3
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e
2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetCondition
(
c9910460
.
negcon
)
e
2
:
SetCondition
(
c9910460
.
negcon
)
e
3
:
SetOperation
(
c9910460
.
negop
)
e
2
:
SetOperation
(
c9910460
.
negop
)
c
:
RegisterEffect
(
e
3
)
c
:
RegisterEffect
(
e
2
)
end
end
function
c9910460
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910460
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
...
@@ -58,15 +58,15 @@ function c9910460.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,15 +58,15 @@ function c9910460.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c9910460
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910460
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
and
Duel
.
IsChainDisablable
(
ev
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
and
rc
:
IsControler
(
1
-
tp
)
and
e
:
GetHandler
():
GetFlagEffect
(
9910460
)
<=
0
and
Duel
.
IsChainDisablable
(
ev
)
and
e
:
GetHandler
():
GetFlagEffect
(
9910460
)
<=
0
end
end
function
c9910460
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910460
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
not
rc
:
IsCanRemoveCounter
(
tp
,
0x1950
,
1
,
REASON_EFFECT
)
then
return
end
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
if
rc
:
IsCanRemoveCounter
(
tp
,
0x1950
,
1
,
REASON_EFFECT
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910460
,
1
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910460
,
1
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
9910460
)
Duel
.
Hint
(
HINT_CARD
,
0
,
9910460
)
rc
:
RemoveCounter
(
tp
,
0x1950
,
1
,
REASON_EFFECT
)
rc
:
RemoveCounter
(
tp
,
0x1950
,
1
,
REASON_EFFECT
)
if
Duel
.
NegateEffect
(
ev
)
and
c
:
IsCanAddCounter
(
0x1950
,
1
)
if
Duel
.
NegateEffect
(
ev
)
and
c
:
IsCanAddCounter
(
0x1950
,
1
)
...
...
expansions/strings.conf
View file @
2f244980
...
@@ -598,3 +598,5 @@
...
@@ -598,3 +598,5 @@
!
setname
0
xfd07
源生
!
setname
0
xfd07
源生
!
setname
0
xcf1b
魔惧会
!
setname
0
xcf1b
魔惧会
!
setname
0
x9310
圣燧烽
!
setname
0
x9310
圣燧烽
!
setname
0
xa9f1
星壳
!
setname
0
x2048
CiNO
\ No newline at end of file
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