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
9d146322
Commit
9d146322
authored
Aug 30, 2019
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
463adbeb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
expansions/script/c14000107.lua
expansions/script/c14000107.lua
+1
-1
expansions/script/c14000655.lua
expansions/script/c14000655.lua
+3
-3
expansions/script/c9910025.lua
expansions/script/c9910025.lua
+3
-3
expansions/script/c9980847.lua
expansions/script/c9980847.lua
+1
-1
expansions/script/c9980865.lua
expansions/script/c9980865.lua
+1
-1
expansions/script/c9980888.lua
expansions/script/c9980888.lua
+2
-2
No files found.
expansions/script/c14000107.lua
View file @
9d146322
...
@@ -28,7 +28,7 @@ function cm.filter(c)
...
@@ -28,7 +28,7 @@ function cm.filter(c)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
2
local
ft
=
2
if
e
:
GetHandler
():
IsLocation
(
LOCATION_SZONE
)
then
ft
=
1
if
e
:
GetHandler
():
IsLocation
(
LOCATION_SZONE
)
then
ft
=
1
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
ft
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
ft
end
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c14000655.lua
View file @
9d146322
...
@@ -10,13 +10,13 @@ function cm.initial_effect(c)
...
@@ -10,13 +10,13 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_ONFIELD
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_ONFIELD
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
tg
)
e1
:
SetTarget
(
cm
.
sum
tg
)
e1
:
SetOperation
(
cm
.
op
)
e1
:
SetOperation
(
cm
.
sum
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsAbleToRemove
()
or
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsAbleToRemove
()
or
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
LOCATION_ONFIELD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
LOCATION_ONFIELD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
...
...
expansions/script/c9910025.lua
View file @
9d146322
...
@@ -36,8 +36,8 @@ function c9910025.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -36,8 +36,8 @@ function c9910025.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
ct
=
ct
+
1
ct
=
ct
+
1
end
end
if
rt
>=
2
and
Duel
.
IsExistingMatchingCard
(
c9910025
.
rpfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
then
if
rt
>=
2
and
Duel
.
IsExistingMatchingCard
(
c9910025
.
rpfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910025
,
1
))
then
return
end
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910025
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9910025
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9910025
,
0
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910025
.
rpfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910025
.
rpfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
...
@@ -77,7 +77,7 @@ function c9910025.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -77,7 +77,7 @@ function c9910025.target(e,tp,eg,ep,ev,re,r,rp,chk)
b2
=
false
b2
=
false
end
end
ct
=
ct
-
1
ct
=
ct
-
1
until
ct
==
0
or
off
<
2
until
ct
==
0
or
off
<
3
e
:
SetLabel
(
sel
)
e
:
SetLabel
(
sel
)
if
bit
.
band
(
sel
,
1
)
~=
0
then
if
bit
.
band
(
sel
,
1
)
~=
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
expansions/script/c9980847.lua
View file @
9d146322
...
@@ -71,7 +71,7 @@ function c9980847.sumsuc(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function c9980847.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
9980847
,
8
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
9980847
,
8
))
end
end
function
c9980847
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
function
c9980847
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
c
:
IsFusionSetCard
(
0x5bc2
)
and
(
not
sg
or
not
sg
:
Filter
(
Card
.
IsFusionSetCard
,
nil
,
0x5bc2
):
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
()))
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
FusionSetCard
(
0x5bc2
)
and
(
not
sg
or
not
sg
:
Filter
(
Card
.
IsFusionSetCard
,
nil
,
0x5bc2
):
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
()))
end
end
function
c9980847
.
atkfilter
(
c
)
function
c9980847
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x5bc2
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x5bc2
)
...
...
expansions/script/c9980865.lua
View file @
9d146322
--装甲骑士铠武·极武装
--装甲骑士铠武·极武装
function
c9980865
.
initial_effect
(
c
)
function
c9980865
.
initial_effect
(
c
)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x6bc2
),
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
998086
5
),
1
,
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x6bc2
),
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
998086
4
),
1
,
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--cannot special summon
--cannot special summon
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c9980888.lua
View file @
9d146322
...
@@ -18,7 +18,7 @@ function c9980888.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c9980888.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
9980888
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
9980888
,
1
))
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_REMOVE
)
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_S
PS
UMMON_SUCCESS
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCountLimit
(
1
,
9980888
)
e2
:
SetCountLimit
(
1
,
9980888
)
...
@@ -31,7 +31,7 @@ function c9980888.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c9980888.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
9980888
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
9980888
,
1
))
e3
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_REMOVE
)
e3
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_REMOVE
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_
FLIP_
SUMMON_SUCCESS
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCountLimit
(
1
,
9980888
)
e3
:
SetCountLimit
(
1
,
9980888
)
...
...
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