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
e949d7b2
Commit
e949d7b2
authored
Oct 04, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lflist
parent
6f4a97dd
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
127 additions
and
99 deletions
+127
-99
expansions/lflist.conf
expansions/lflist.conf
+49
-10
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/pics/9951527.jpg
expansions/pics/9951527.jpg
+0
-0
expansions/script/c13257308.lua
expansions/script/c13257308.lua
+5
-4
expansions/script/c13257330.lua
expansions/script/c13257330.lua
+5
-5
expansions/script/c13257338.lua
expansions/script/c13257338.lua
+35
-33
expansions/script/c13257339.lua
expansions/script/c13257339.lua
+5
-5
expansions/script/c13257349.lua
expansions/script/c13257349.lua
+5
-5
expansions/script/c13257350.lua
expansions/script/c13257350.lua
+5
-5
expansions/script/c13257351.lua
expansions/script/c13257351.lua
+2
-1
expansions/script/c13257353.lua
expansions/script/c13257353.lua
+1
-1
expansions/script/c33400102.lua
expansions/script/c33400102.lua
+2
-2
expansions/script/c33700352.lua
expansions/script/c33700352.lua
+10
-7
expansions/script/c500007.lua
expansions/script/c500007.lua
+3
-3
expansions/script/c77770020.lua
expansions/script/c77770020.lua
+0
-1
expansions/script/c9951527.lua
expansions/script/c9951527.lua
+0
-17
No files found.
expansions/lflist.conf
View file @
e949d7b2
...
@@ -57,6 +57,40 @@
...
@@ -57,6 +57,40 @@
31400049
1
--岩热炎龙机,不建议在
std
让炎龙机无限互相拉
31400049
1
--岩热炎龙机,不建议在
std
让炎龙机无限互相拉
31400045
1
--命莲托生,定位是类似死苏的泛用卡
31400045
1
--命莲托生,定位是类似死苏的泛用卡
#
#
72100104
0
72100025
0
72100125
0
72100035
0
72100112
0
30001007
0
25010012
0
90700058
0
90700057
0
82208118
0
82208119
0
82208120
0
82208121
0
82208122
0
82208123
0
82208124
0
82208125
0
82208126
0
82208127
0
82208128
0
82208129
0
82208130
0
82208131
0
82208132
0
82208133
0
82208134
0
34512015
0
72100028
0
72100116
0
77771010
0
79029274
0
82204249
0
89380006
0
#
79029309
0
79029309
0
65010018
0
65010018
0
90700056
0
90700056
0
...
@@ -596,8 +630,6 @@
...
@@ -596,8 +630,6 @@
14010224
0
14010224
0
14010229
0
14010229
0
14010231
0
14010231
0
30000230
0
30000235
0
9950020
0
9950020
0
9950050
0
9950050
0
9950051
0
9950051
0
...
@@ -705,7 +737,7 @@
...
@@ -705,7 +737,7 @@
14010230
0
14010230
0
30000004
0
30000004
0
30000033
0
30000033
0
30000051
0
30000051
1
33700036
0
33700036
0
33700081
0
33700081
0
33700093
0
33700093
0
...
@@ -1109,6 +1141,11 @@
...
@@ -1109,6 +1141,11 @@
117681594
0
117681594
0
115284026
0
115284026
0
#limit
#limit
31400038
1
65000000
1
77770010
1
82204250
1
#
25000014
1
25000014
1
25000015
1
25000015
1
25000016
1
25000016
1
...
@@ -1127,7 +1164,7 @@
...
@@ -1127,7 +1164,7 @@
65010528
1
65010528
1
65010566
1
65010566
1
65020219
1
65020219
1
77770021
1
77770021
0
9951531
1
9951531
1
9951513
1
9951513
1
9951523
0
9951523
0
...
@@ -1270,14 +1307,10 @@
...
@@ -1270,14 +1307,10 @@
14010075
1
14010075
1
14010120
1
14010120
1
14010206
1
14010206
1
30000005
1
30000005
2
30000010
1
30000013
1
30000019
1
30000027
1
30000027
1
30000029
0
30000029
0
30000049
1
30000999
2
30000999
1
33330093
1
33330093
1
33400006
1
33400006
1
33700058
1
33700058
1
...
@@ -1656,6 +1689,12 @@
...
@@ -1656,6 +1689,12 @@
!
THE
WILD
LIST
!
THE
WILD
LIST
#forbidden
#forbidden
72100025
0
72100125
0
25010012
0
90700058
0
90700057
0
#
121082832
0
121082832
0
121082833
0
121082833
0
121593977
0
121593977
0
...
...
expansions/no81.cdb
View file @
e949d7b2
No preview for this file type
expansions/pics/9951527.jpg
deleted
100644 → 0
View file @
6f4a97dd
53.6 KB
expansions/script/c13257308.lua
View file @
e949d7b2
...
@@ -47,16 +47,17 @@ end
...
@@ -47,16 +47,17 @@ end
function
cm
.
eqlimit
(
e
,
c
)
function
cm
.
eqlimit
(
e
,
c
)
return
not
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x3352
)
return
not
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x3352
)
end
end
function
cm
.
cafilter
(
c
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
cafilter
(
c
,
e
,
eg
)
return
eg
:
IsContains
(
c
)
and
aux
.
bdogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
c
:
IsChainAttackable
()
local
bc
=
c
:
GetBattleTarget
()
return
eg
:
IsContains
(
c
)
and
c
:
IsRelateToBattle
()
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsLocation
(
LOCATION_GRAVE
)
and
bc
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsChainAttackable
()
end
end
function
cm
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
f
=
tama
.
cosmicFighters_equipGetFormation
(
e
:
GetHandler
())
local
f
=
tama
.
cosmicFighters_equipGetFormation
(
e
:
GetHandler
())
return
f
and
f
:
IsExists
(
cm
.
cafilter
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
f
and
f
:
IsExists
(
cm
.
cafilter
,
1
,
nil
,
e
,
eg
)
end
end
local
f
=
tama
.
cosmicFighters_equipGetFormation
(
e
:
GetHandler
())
local
f
=
tama
.
cosmicFighters_equipGetFormation
(
e
:
GetHandler
())
local
a
=
f
:
Filter
(
cm
.
cafilter
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
):
GetFirst
()
local
a
=
f
:
Filter
(
cm
.
cafilter
,
nil
,
e
,
eg
):
GetFirst
()
Duel
.
SetTargetCard
(
a
)
Duel
.
SetTargetCard
(
a
)
end
end
function
cm
.
caop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
caop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c13257330.lua
View file @
e949d7b2
...
@@ -72,11 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,11 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterEffect
(
e2
)
sc
=
g
:
GetNext
()
sc
=
g
:
GetNext
()
end
end
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
end
if
g
:
GetCount
()
>
0
then
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
BreakEffect
()
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
BreakEffect
(
)
end
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
...
...
expansions/script/c13257338.lua
View file @
e949d7b2
...
@@ -88,41 +88,43 @@ end
...
@@ -88,41 +88,43 @@ end
function
cm
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
e
:
GetHandler
())
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
e
:
GetHandler
())
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e5
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
c
:
IsRelateToEffect
(
e
)
then
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
local
e5
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e5
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e5
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e5
:
SetValue
(
700
)
e5
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e5
)
e5
:
SetValue
(
700
)
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
c
:
RegisterEffect
(
e5
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetValue
(
cm
.
efilter
)
e4
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetValue
(
cm
.
efilter
)
e
:
GetHandler
():
RegisterEffect
(
e4
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
--damage
e
:
GetHandler
():
RegisterEffect
(
e4
)
local
e3
=
Effect
.
CreateEffect
(
c
)
--damage
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetOperation
(
cm
.
regop
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e3
)
e3
:
SetOperation
(
cm
.
regop
)
local
e4
=
Effect
.
CreateEffect
(
c
)
c
:
RegisterEffect
(
e3
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
cm
.
accon
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetOperation
(
cm
.
acop
)
e4
:
SetCondition
(
cm
.
accon
)
c
:
RegisterEffect
(
e4
)
e4
:
SetOperation
(
cm
.
acop
)
c
:
RegisterEffect
(
e4
)
end
end
end
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
()
then
if
e
:
GetHandler
()
then
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x1fc0000
+
RESET_CHAIN
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
0x1fc0000
+
RESET_CHAIN
,
0
,
1
)
end
end
end
end
function
cm
.
accon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
accon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -135,7 +137,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -135,7 +137,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
1
)
else
else
local
label
=
c
:
GetFlagEffectLabel
(
m
)
local
label
=
c
:
GetFlagEffectLabel
(
m
)
c
:
SetFlagEffectLabel
(
m
,
label
+
1
)
c
:
SetFlagEffectLabel
(
m
,
label
+
c
:
GetFlagEffect
(
m
+
1
)
)
end
end
if
c
:
GetFlagEffectLabel
(
m
)
>=
3
then
if
c
:
GetFlagEffectLabel
(
m
)
>=
3
then
Duel
.
Hint
(
HINT_CARD
,
1
,
m
)
Duel
.
Hint
(
HINT_CARD
,
1
,
m
)
...
...
expansions/script/c13257339.lua
View file @
e949d7b2
...
@@ -135,11 +135,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -135,11 +135,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterEffect
(
e2
)
sc
=
g1
:
GetNext
()
sc
=
g1
:
GetNext
()
end
end
g1
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
end
if
g1
:
GetCount
()
>
0
then
g1
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
BreakEffect
()
if
g1
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
Duel
.
BreakEffect
(
)
end
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
end
end
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c13257349.lua
View file @
e949d7b2
...
@@ -68,11 +68,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,11 +68,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
sc
:
RegisterEffect
(
e1
)
sc
:
RegisterEffect
(
e1
)
sc
=
g
:
GetNext
()
sc
=
g
:
GetNext
()
end
end
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
end
if
g
:
GetCount
()
>
0
then
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
BreakEffect
()
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
BreakEffect
(
)
end
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
if
ec
then
if
ec
then
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c13257350.lua
View file @
e949d7b2
...
@@ -125,11 +125,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -125,11 +125,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
end
end
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
local
sg
=
g
:
Filter
(
cm
.
desfilter
,
nil
)
end
if
sg
:
GetCount
()
>
0
then
local
sg
=
g
:
Filter
(
cm
.
desfilter
,
nil
)
Duel
.
BreakEffect
()
if
sg
:
GetCount
()
>
0
then
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
BreakEffect
(
)
end
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c13257351.lua
View file @
e949d7b2
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
eqlimit
(
e
,
c
)
function
cm
.
eqlimit
(
e
,
c
)
return
not
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x
3
352
)
return
not
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x
6
352
)
end
end
function
cm
.
bfilter
(
c
)
function
cm
.
bfilter
(
c
)
return
c
:
IsAbleToChangeControler
()
and
c
:
IsFaceup
()
return
c
:
IsAbleToChangeControler
()
and
c
:
IsFaceup
()
...
@@ -54,6 +54,7 @@ function cm.bombtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -54,6 +54,7 @@ function cm.bombtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
cm
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
c
:
IsRelateToEffect
(
e
)
or
not
ec
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
c
:
IsRelateToEffect
(
e
)
or
not
ec
then
return
end
if
ec
and
ec
:
IsFaceup
()
then
if
ec
and
ec
:
IsFaceup
()
then
...
...
expansions/script/c13257353.lua
View file @
e949d7b2
...
@@ -108,7 +108,7 @@ function cm.efilter(e,te)
...
@@ -108,7 +108,7 @@ function cm.efilter(e,te)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsFaceup
())
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttackBelow
(
0
))
return
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsFaceup
())
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
GetAttack
()
==
0
or
(
c
:
GetDefense
()
==
0
and
not
c
:
IsType
(
TYPE_LINK
))
))
end
end
function
cm
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c33400102.lua
View file @
e949d7b2
...
@@ -46,13 +46,13 @@ function c33400102.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,13 +46,13 @@ function c33400102.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
sc
:
GetAttack
()
/
2
)
e1
:
SetValue
(
sc
:
Get
Base
Attack
()
/
2
)
sc
:
RegisterEffect
(
e1
)
sc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetValue
(
sc
:
GetDefense
()
/
2
)
e2
:
SetValue
(
sc
:
Get
Base
Defense
()
/
2
)
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c33700352.lua
View file @
e949d7b2
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
m
*
16
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
)
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
end
)
end
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
m
*
16
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
)
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
@@ -52,11 +52,14 @@ function cm.initial_effect(c)
...
@@ -52,11 +52,14 @@ function cm.initial_effect(c)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD_FILTER
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
ANNOUNCE_CARD_FILTER
)
end
)
end
)
e2
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e2
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetMatchingGroup
(
v_filter
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
nil
)
Duel
.
ConfirmCards
(
tp
,
tg
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
local
g
=
Duel
.
GetMatchingGroup
(
v_filter
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
nil
)
:
Filter
(
Card
.
IsCode
,
nil
,
ac
)
local
g
=
tg
:
Filter
(
Card
.
IsCode
,
nil
,
ac
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
Duel
.
ShuffleHand
(
1
-
tp
)
end
)
end
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
@@ -76,14 +79,14 @@ function cm.spcon(e,c)
...
@@ -76,14 +79,14 @@ function cm.spcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
spfilter
,
nil
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
spfilter
,
nil
,
c
)
local
g2
=
Duel
.
Get
Matching
Group
(
1
-
tp
):
Filter
(
cm
.
spfilter_
,
nil
,
c
)
local
g2
=
Duel
.
Get
Release
Group
(
1
-
tp
):
Filter
(
cm
.
spfilter_
,
nil
,
c
)
g
1
:
Merge
(
g2
)
g
:
Merge
(
g2
)
return
g
:
IsExists
(
cm
.
spfilter1
,
1
,
nil
,
tp
,
g
)
return
g
:
IsExists
(
cm
.
spfilter1
,
1
,
nil
,
tp
,
g
)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
spfilter
,
nil
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
spfilter
,
nil
,
c
)
local
g2
=
Duel
.
Get
Matching
Group
(
1
-
tp
):
Filter
(
cm
.
spfilter_
,
nil
,
c
)
local
g2
=
Duel
.
Get
Release
Group
(
1
-
tp
):
Filter
(
cm
.
spfilter_
,
nil
,
c
)
g
1
:
Merge
(
g2
)
g
:
Merge
(
g2
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g1
=
g
:
FilterSelect
(
tp
,
cm
.
spfilter1
,
1
,
1
,
nil
,
tp
,
g
)
local
g1
=
g
:
FilterSelect
(
tp
,
cm
.
spfilter1
,
1
,
1
,
nil
,
tp
,
g
)
local
mc
=
g1
:
GetFirst
()
local
mc
=
g1
:
GetFirst
()
...
...
expansions/script/c500007.lua
View file @
e949d7b2
...
@@ -132,7 +132,7 @@ function c500007.stg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -132,7 +132,7 @@ function c500007.stg2(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c500007
.
setfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c500007
.
setfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
end
function
c500007
.
sop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c500007
.
sop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c500007
.
setfilter
3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c500007
.
setfilter
2
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
...
@@ -141,7 +141,7 @@ function c500007.sop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -141,7 +141,7 @@ function c500007.sop2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c500007
.
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c500007
.
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c500007
.
setfilter
3
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c500007
.
setfilter
2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
...
@@ -150,7 +150,7 @@ function c500007.sop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -150,7 +150,7 @@ function c500007.sop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c500007
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c500007
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c500007
.
setfilter
3
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
500007
)
==
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c500007
.
setfilter
2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
500007
)
==
0
end
end
end
function
c500007
.
scost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c500007
.
scost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
expansions/script/c77770020.lua
View file @
e949d7b2
...
@@ -18,7 +18,6 @@ function c77770020.initial_effect(c)
...
@@ -18,7 +18,6 @@ function c77770020.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMINGS_CHECK_MONSTER
+
TIMING_DAMAGE_STEP
+
TIMING_END_PHASE
)
e2
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMINGS_CHECK_MONSTER
+
TIMING_DAMAGE_STEP
+
TIMING_END_PHASE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
...
...
expansions/script/c9951527.lua
deleted
100644 → 0
View file @
6f4a97dd
--凑友希那
function
c9951527
.
initial_effect
(
c
)
--spsummon bgm
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetOperation
(
c9951527
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
local
e9
=
e8
:
Clone
()
e9
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e9
)
end
function
c9951527
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
9951527
,
0
))
end
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