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
Mr.Tan
pre-release-database-cdb
Commits
b7c3075a
Commit
b7c3075a
authored
Apr 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ワクチンゲール
parent
f5ec17ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
script/c100222203.lua
script/c100222203.lua
+2
-3
No files found.
script/c100222203.lua
View file @
b7c3075a
...
...
@@ -31,7 +31,7 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
s
.
arkfilter
(
c
)
return
c
:
IsFaceup
()
and
(
not
c
:
IsAttack
(
c
:
GetBaseAttack
())
or
c
:
IsDefense
(
c
:
GetBaseDefense
(
)))
return
c
:
IsFaceup
()
and
(
not
c
:
IsAttack
(
c
:
GetBaseAttack
())
or
(
not
c
:
IsType
(
TYPE_LINK
)
and
not
c
:
IsDefense
(
c
:
GetBaseDefense
()
)))
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
arkfilter
(
chkc
)
end
...
...
@@ -83,14 +83,13 @@ function s.cfilter(c,tp)
end
function
s
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
and
e
:
GetHandler
():
GetOverlayCount
()
>
2
end
function
s
.
atkfilter
(
c
,
e
,
tp
)
return
c
:
IsSummonPlayer
(
tp
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
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
)
and
e
:
GetHandler
():
GetOverlayCount
()
>
2
end
local
g
=
eg
:
Filter
(
s
.
atkfilter
,
nil
,
nil
,
tp
)
Duel
.
SetTargetCard
(
g
)
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