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
19502f89
Commit
19502f89
authored
Apr 26, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b4891152
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
13 deletions
+12
-13
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/script/c13254038.lua
expansions/script/c13254038.lua
+1
-1
expansions/script/c13254050.lua
expansions/script/c13254050.lua
+2
-2
expansions/script/c13255407.lua
expansions/script/c13255407.lua
+1
-1
expansions/script/c22060140.lua
expansions/script/c22060140.lua
+1
-4
expansions/script/c33701435.lua
expansions/script/c33701435.lua
+2
-1
expansions/script/c9910458.lua
expansions/script/c9910458.lua
+4
-3
expansions/script/c9910460.lua
expansions/script/c9910460.lua
+1
-1
No files found.
expansions/no81.cdb
View file @
19502f89
No preview for this file type
expansions/script/c13254038.lua
View file @
19502f89
...
...
@@ -75,7 +75,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
if
sg1
:
GetSum
(
tama
.
tamas_getElementCount
,
TAMA_ELEMENT_MANA
)
>=
3
then
Duel
.
BreakEffect
()
--change damage
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c13254050.lua
View file @
19502f89
...
...
@@ -56,7 +56,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
op
==
1
or
t
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
...
...
@@ -66,7 +66,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
if
op
==
3
or
t
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
rfilter
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_EXTRA
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
rfilter
,
tp
,
0
,
0
+
LOCATION_EXTRA
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
expansions/script/c13255407.lua
View file @
19502f89
...
...
@@ -21,7 +21,7 @@ function cm.chainfilter(re,tp,cid)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
and
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
...
...
expansions/script/c22060140.lua
View file @
19502f89
...
...
@@ -29,15 +29,12 @@ function c22060140.initial_effect(c)
e2
:
SetOperation
(
c22060140
.
negop
)
c
:
RegisterEffect
(
e2
)
end
function
c22060140
.
mat
filter
(
c
)
function
c22060140
.
th
filter
(
c
)
return
c
:
IsSetCard
(
0xff3
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c22060140
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c22060140
.
thfilter
(
c
)
return
c
:
IsLevel
(
5
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAbleToHand
()
end
function
c22060140
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22060140
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
expansions/script/c33701435.lua
View file @
19502f89
...
...
@@ -16,13 +16,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
ac
=
Duel
.
AnnounceCard
(
tp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAIN
_SOLV
ING
)
e1
:
SetLabel
(
ac
)
e1
:
SetCondition
(
cm
.
discon
)
e1
:
SetOperation
(
cm
.
disop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
e
:
GetLabel
()
return
re
:
GetHandler
():
IsCode
(
ac
)
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c9910458.lua
View file @
19502f89
...
...
@@ -55,6 +55,7 @@ function c9910458.spfilter(c,e,tp,zone)
end
function
c9910458
.
seqfilter
(
c
,
tp
,
seq
)
if
not
c
:
IsCanAddCounter
(
0x1950
,
1
)
then
return
false
end
if
c
:
IsControler
(
1
-
tp
)
and
c
:
GetSequence
()
<
5
then
return
false
end
local
cseq
=
c
:
GetSequence
()
local
cloc
=
c
:
GetLocation
()
if
cloc
==
LOCATION_SZONE
and
cseq
>=
5
then
return
false
end
...
...
@@ -67,7 +68,7 @@ end
function
c9910458
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
zone
=
0
for
i
=
0
,
4
do
if
Duel
.
IsExistingMatchingCard
(
c9910458
.
seqfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
ONFIELD
,
1
,
nil
,
tp
,
i
)
then
if
Duel
.
IsExistingMatchingCard
(
c9910458
.
seqfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
MZONE
,
1
,
nil
,
tp
,
i
)
then
zone
=
bit
.
replace
(
zone
,
0x1
,
i
)
end
end
...
...
@@ -79,7 +80,7 @@ function c9910458.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
zone
=
0
for
i
=
0
,
4
do
if
Duel
.
IsExistingMatchingCard
(
c9910458
.
seqfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
ONFIELD
,
1
,
nil
,
tp
,
i
)
then
if
Duel
.
IsExistingMatchingCard
(
c9910458
.
seqfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
MZONE
,
1
,
nil
,
tp
,
i
)
then
zone
=
bit
.
replace
(
zone
,
0x1
,
i
)
end
end
...
...
@@ -87,7 +88,7 @@ function c9910458.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
,
zone
)
~=
0
and
tc
:
IsOnField
()
then
local
seq
=
tc
:
GetSequence
()
local
sg
=
Duel
.
GetMatchingGroup
(
c9910458
.
seqfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
ONFIELD
,
tc
,
tp
,
seq
)
local
sg
=
Duel
.
GetMatchingGroup
(
c9910458
.
seqfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
MZONE
,
tc
,
tp
,
seq
)
for
sc
in
aux
.
Next
(
sg
)
do
sc
:
AddCounter
(
0x1950
,
1
)
end
local
fid
=
e
:
GetHandler
():
GetFieldID
()
tc
:
RegisterFlagEffect
(
9910466
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
...
...
expansions/script/c9910460.lua
View file @
19502f89
...
...
@@ -46,7 +46,7 @@ end
function
c9910460
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c9910460
.
ctfilter
,
tp
,
0
,
LOCATION_
ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9910460
.
ctfilter
,
tp
,
0
,
LOCATION_
MZONE
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910460
,
0
))
then
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
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