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
8b1f96db
Commit
8b1f96db
authored
Apr 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ワクチンゲール
parent
f28cac1f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c100222203.lua
script/c100222203.lua
+3
-3
No files found.
script/c100222203.lua
View file @
8b1f96db
...
@@ -48,7 +48,7 @@ end
...
@@ -48,7 +48,7 @@ end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
Is
Faceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
if
tc
:
Is
RelateToEffect
(
e
)
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
arkfilter
(
tc
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
@@ -87,12 +87,12 @@ function s.atkcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,12 +87,12 @@ function s.atkcon2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
atkfilter
(
c
,
e
,
tp
)
function
s
.
atkfilter
(
c
,
e
,
tp
)
return
c
:
IsSummonPlayer
(
tp
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
return
c
:
IsSummonPlayer
(
tp
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
end
function
s
.
atktg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
atktg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
atkfilter
,
1
,
nil
,
nil
,
tp
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
atkfilter
,
1
,
nil
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
s
.
atkfilter
,
nil
,
nil
,
tp
)
local
g
=
eg
:
Filter
(
s
.
atkfilter
,
nil
,
nil
,
tp
)
Duel
.
SetTargetCard
(
e
g
)
Duel
.
SetTargetCard
(
g
)
end
end
function
s
.
atkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
s
.
atkfilter
,
nil
,
e
,
tp
):
Filter
(
Card
.
IsRelateToChain
,
nil
)
local
g
=
eg
:
Filter
(
s
.
atkfilter
,
nil
,
e
,
tp
):
Filter
(
Card
.
IsRelateToChain
,
nil
)
...
...
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