Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
yks
pre-release-database-cdb
Commits
8321fa34
Commit
8321fa34
authored
Feb 03, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 時の沈黙-ターン・サイレンス
修复以下bug: 不应可以取超量/连接怪兽为对象发动①效果 没能让等级上升也应无效效果 应需要黄金柜和对应怪兽均表侧表示才能无效
parent
d14d371f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
script/c101204045.lua
script/c101204045.lua
+2
-0
script/c101204052.lua
script/c101204052.lua
+19
-11
No files found.
script/c101204045.lua
View file @
8321fa34
...
...
@@ -65,6 +65,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end
if
#
g
>
0
then
Duel
.
BreakEffect
()
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
@@ -83,6 +84,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
):
Select
(
tp
,
1
,
1
,
nil
)
if
#
g
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
script/c101204052.lua
View file @
8321fa34
--時の沈黙-ターン・サイレンス
--Coded by Lee
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
101204051
)
...
...
@@ -23,11 +22,20 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
baop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
end
function
s
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
Is
Faceup
()
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
Is
Location
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
s
.
lvfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
s
.
nfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
101204051
)
end
function
s
.
nfilter2
(
c
)
return
c
:
IsFaceup
()
and
aux
.
IsCodeListed
(
c
,
101204051
)
end
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
@@ -39,20 +47,20 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
local
ct
=
Duel
.
GetCurrentChain
()
if
ct
<
2
then
return
end
local
te
,
tep
=
Duel
.
GetChainInfo
(
ct
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
tep
==
1
-
tp
and
te
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
101204051
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
IsCodeListed
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
101204051
)
then
if
tep
==
1
-
tp
and
te
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
s
.
nfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
nfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
Duel
.
NegateEffect
(
ct
-
1
)
end
end
end
function
s
.
bacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttackTarget
()
end
if
not
tc
then
return
false
end
e
:
SetLabelObject
(
tc
)
return
aux
.
IsCodeListed
(
tc
,
101204051
)
return
tc
:
IsFaceup
()
and
aux
.
IsCodeListed
(
tc
,
101204051
)
end
function
s
.
baop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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