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
Vury Leo
pre-release-database-cdb
Commits
b2eb3f6e
Commit
b2eb3f6e
authored
Apr 27, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
9fedd75b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
script/c101301005.lua
script/c101301005.lua
+8
-6
script/c101301006.lua
script/c101301006.lua
+1
-0
script/c101301007.lua
script/c101301007.lua
+3
-3
No files found.
script/c101301005.lua
View file @
b2eb3f6e
...
@@ -44,11 +44,13 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,11 +44,13 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_HAND
)
then
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
Duel
.
BreakEffect
()
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
REASON_EFFECT
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
end
end
end
function
s
.
cfilter
(
c
,
tp
)
function
s
.
cfilter
(
c
,
tp
)
...
@@ -62,7 +64,7 @@ function s.tgfilter(c,e)
...
@@ -62,7 +64,7 @@ function s.tgfilter(c,e)
end
end
function
s
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
mg
=
eg
:
Filter
(
s
.
cfilter
,
nil
,
tp
):
Filter
(
s
.
tgfilter
,
nil
,
e
)
local
mg
=
eg
:
Filter
(
s
.
cfilter
,
nil
,
tp
):
Filter
(
s
.
tgfilter
,
nil
,
e
)
if
chkc
then
return
mg
:
IsContains
(
chkc
)
end
if
chkc
then
return
mg
:
IsContains
(
chkc
)
and
s
.
tgfilter
(
chkc
,
e
)
end
if
chk
==
0
then
return
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
mg
:
GetCount
()
>
0
end
local
g
=
mg
local
g
=
mg
if
mg
:
GetCount
()
>
1
then
if
mg
:
GetCount
()
>
1
then
...
...
script/c101301006.lua
View file @
b2eb3f6e
...
@@ -19,6 +19,7 @@ function s.initial_effect(c)
...
@@ -19,6 +19,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_NEGATE
)
e2
:
SetCategory
(
CATEGORY_NEGATE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
s
.
negcon
)
e2
:
SetCondition
(
s
.
negcon
)
...
...
script/c101301007.lua
View file @
b2eb3f6e
...
@@ -24,15 +24,15 @@ function s.initial_effect(c)
...
@@ -24,15 +24,15 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
desop
)
e2
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
mfilter
(
c
)
function
s
.
mfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsRace
(
RACE_CYBERSE
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
Is
Controler
(
tp
)
and
c
:
Is
Race
(
RACE_CYBERSE
)
end
end
function
s
.
exmfilter
(
c
)
function
s
.
exmfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsCode
(
id
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsCode
(
id
)
end
end
function
s
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
function
s
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
if
not
lc
:
IsSetCard
(
0x135
)
then
return
false
,
nil
end
if
not
lc
:
IsSetCard
(
0x135
)
then
return
false
,
nil
end
return
true
,
not
mg
or
mg
:
IsExists
(
s
.
mfilter
,
1
,
nil
)
and
not
mg
:
IsExists
(
s
.
exmfilter
,
1
,
nil
)
return
true
,
not
mg
or
mg
:
IsExists
(
s
.
mfilter
,
1
,
nil
,
tp
)
and
not
mg
:
IsExists
(
s
.
exmfilter
,
1
,
nil
)
end
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
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