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
MyCard
pre-release-database-cdb
Commits
e1f65a5c
Commit
e1f65a5c
authored
Mar 11, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
5191902f
Pipeline
#33580
passed with stages
in 2 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
script/c101301062.lua
script/c101301062.lua
+1
-1
script/c101301076.lua
script/c101301076.lua
+7
-7
No files found.
script/c101301062.lua
View file @
e1f65a5c
...
...
@@ -30,7 +30,7 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
filter
(
c
)
return
(
c
:
IsAttackAbove
(
2400
)
or
c
:
IsAttack
(
800
))
and
c
:
IsDefense
(
1000
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToHand
()
or
c
:
IsAbleToGrave
()
)
and
c
:
IsAbleToHand
()
and
c
:
IsAbleToGrave
(
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
3
,
nil
)
end
...
...
script/c101301076.lua
View file @
e1f65a5c
...
...
@@ -37,12 +37,12 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
GetFlagEffect
(
tp
,
id
+
1
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
>
0
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
id
+
2
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
)
>
0
local
b3
=
Duel
.
GetFlagEffect
(
tp
,
id
+
3
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
,
REASON_EFFECT
)
local
b4
=
Duel
.
GetFlagEffect
(
tp
,
id
+
4
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b5
=
Duel
.
GetFlagEffect
(
tp
,
id
+
5
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b6
=
Duel
.
GetFlagEffect
(
tp
,
id
+
6
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b1
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
>
0
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
2
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
local
b3
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
3
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
,
REASON_EFFECT
)
local
b4
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
4
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b5
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
5
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b6
=
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
6
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
and
(
b1
or
b2
or
b3
or
b4
or
b5
or
b6
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_CHAIN
,
0
,
1
)
...
...
@@ -78,7 +78,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
)
end
e
:
SetLabel
(
op
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
op
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
*
o
p
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
op
==
1
then
e
:
SetCategory
(
CATEGORY_DESTROY
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
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