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
9f557cd5
Commit
9f557cd5
authored
Apr 14, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4e8f633d
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
8 deletions
+11
-8
expansions/script/c13254058.lua
expansions/script/c13254058.lua
+2
-1
expansions/script/c13257216.lua
expansions/script/c13257216.lua
+2
-2
expansions/script/c13257236.lua
expansions/script/c13257236.lua
+1
-1
expansions/script/c13257242.lua
expansions/script/c13257242.lua
+1
-1
expansions/script/c40009635.lua
expansions/script/c40009635.lua
+1
-1
expansions/script/c64800042.lua
expansions/script/c64800042.lua
+1
-1
expansions/script/c9910459.lua
expansions/script/c9910459.lua
+2
-1
expansions/script/c9910522.lua
expansions/script/c9910522.lua
+1
-0
No files found.
expansions/script/c13254058.lua
View file @
9f557cd5
--飞球造物·吸血球
--飞球造物·吸血球
local
m
=
c
13254058
local
m
=
13254058
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/tama"
)
end
,
function
()
require
(
"script/tama"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/tama"
)
end
,
function
()
require
(
"script/tama"
)
end
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
...
@@ -107,6 +107,7 @@ end
...
@@ -107,6 +107,7 @@ end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
el
=
{{
TAMA_ELEMENT_MANA
,
1
},{
TAMA_ELEMENT_LIFE
,
1
}}
local
el
=
{{
TAMA_ELEMENT_MANA
,
1
},{
TAMA_ELEMENT_LIFE
,
1
}}
local
mg
=
tama
.
tamas_checkGroupElements
(
Duel
.
GetFieldGroup
(
tp
,
LOCATION_GRAVE
,
0
),
el
)
local
mg
=
tama
.
tamas_checkGroupElements
(
Duel
.
GetFieldGroup
(
tp
,
LOCATION_GRAVE
,
0
),
el
)
mg
:
RemoveCard
(
e
:
GetHandler
())
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
if
chk
==
0
then
if
chk
==
0
then
return
mg
:
GetCount
()
>
0
and
mg
:
IsExists
(
tama
.
tamas_selectElementsForAbove
,
1
,
nil
,
mg
,
sg
,
el
)
return
mg
:
GetCount
()
>
0
and
mg
:
IsExists
(
tama
.
tamas_selectElementsForAbove
,
1
,
nil
,
mg
,
sg
,
el
)
...
...
expansions/script/c13257216.lua
View file @
9f557cd5
...
@@ -73,9 +73,9 @@ end
...
@@ -73,9 +73,9 @@ end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
ec
and
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
ec
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c13257236.lua
View file @
9f557cd5
...
@@ -76,7 +76,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +76,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
cfilter
(
c
)
function
cm
.
cfilter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
c
:
Is
SetCard
(
0x353
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
c
:
Is
LevelAbove
(
5
)
end
end
function
cm
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
and
eg
:
IsExists
(
cm
.
cfilter
,
1
,
nil
)
return
ep
==
tp
and
eg
:
IsExists
(
cm
.
cfilter
,
1
,
nil
)
...
...
expansions/script/c13257242.lua
View file @
9f557cd5
...
@@ -67,7 +67,7 @@ function cm.efilter(e,re)
...
@@ -67,7 +67,7 @@ function cm.efilter(e,re)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
end
function
cm
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
true
end
if
chk
==
0
then
return
true
end
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
Duel
.
SetTargetCard
(
ec
)
Duel
.
SetTargetCard
(
ec
)
local
g
=
ec
:
GetColumnGroup
():
Filter
(
Card
.
IsControler
,
nil
,
1
-
tp
)
local
g
=
ec
:
GetColumnGroup
():
Filter
(
Card
.
IsControler
,
nil
,
1
-
tp
)
...
...
expansions/script/c40009635.lua
View file @
9f557cd5
...
@@ -30,7 +30,7 @@ function c40009635.filter2(c,e,tp)
...
@@ -30,7 +30,7 @@ function c40009635.filter2(c,e,tp)
end
end
function
c40009635
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c40009635
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c40009635
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c40009635
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingTarget
(
c40009635
.
filter2
,
tp
,
LOCATION_
GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
local
b2
=
Duel
.
IsExistingTarget
(
c40009635
.
filter2
,
tp
,
LOCATION_
DECK
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
b1
or
b2
end
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
0
local
op
=
0
if
b1
and
b2
then
if
b1
and
b2
then
...
...
expansions/script/c64800042.lua
View file @
9f557cd5
...
@@ -44,7 +44,7 @@ function cm.filter(c,tp,rp)
...
@@ -44,7 +44,7 @@ function cm.filter(c,tp,rp)
end
end
function
cm
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
then
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
then
Duel
.
SetChainLimit
(
function
(
e
,
ep
,
tp
)
Duel
.
SetChainLimit
(
function
(
e
,
ep
,
tp
)
return
tp
==
ep
return
tp
==
ep
end
)
end
end
)
end
...
...
expansions/script/c9910459.lua
View file @
9f557cd5
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
function
c9910459
.
initial_effect
(
c
)
function
c9910459
.
initial_effect
(
c
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_COUNTER
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
9910459
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
9910459
+
EFFECT_COUNT_CODE_OATH
)
...
...
expansions/script/c9910522.lua
View file @
9f557cd5
...
@@ -4,6 +4,7 @@ function c9910522.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c9910522.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
9910522
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
9910522
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c9910522
.
target
)
e1
:
SetTarget
(
c9910522
.
target
)
...
...
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