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
Crescent/毛虫
pre-release-database-cdb
Commits
e95830ba
Commit
e95830ba
authored
Jul 21, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
052cd1cb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206037.lua
script/c101206037.lua
+1
-1
script/c101206070.lua
script/c101206070.lua
+3
-2
No files found.
ROTA.cdb
View file @
e95830ba
No preview for this file type
script/c101206037.lua
View file @
e95830ba
...
@@ -92,7 +92,7 @@ function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -92,7 +92,7 @@ function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
dam
=
Duel
.
GetMatchingGroupCount
(
s
.
damfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
local
dam
=
Duel
.
GetMatchingGroupCount
(
s
.
damfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
if
chk
==
0
then
return
dam
>
0
end
if
chk
==
0
then
return
dam
>
0
end
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
d
ma
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
d
am
)
end
end
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dam
=
Duel
.
GetMatchingGroup
(
s
.
damfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
local
dam
=
Duel
.
GetMatchingGroup
(
s
.
damfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
...
...
script/c101206070.lua
View file @
e95830ba
...
@@ -14,10 +14,11 @@ function s.initial_effect(c)
...
@@ -14,10 +14,11 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
4
and
(
Duel
.
GetDecktopGroup
(
tp
,
4
):
IsExists
(
Card
.
IsAbleToHand
,
1
,
nil
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
end
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
4
end
end
end
function
s
.
thfilter
(
c
,
tp
)
function
s
.
thfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_TRAP
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
or
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_TRAP
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
or
c
:
IsType
(
TYPE_MONSTER
+
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
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