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
db63e1d2
Commit
db63e1d2
authored
Jan 05, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 機動石器ドグラード
parent
664f8a61
Pipeline
#32350
failed with stages
in 1 minute and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
ALIN.cdb
ALIN.cdb
+0
-0
script/c101208053.lua
script/c101208053.lua
+8
-6
No files found.
ALIN.cdb
View file @
db63e1d2
No preview for this file type
script/c101208053.lua
View file @
db63e1d2
...
@@ -21,6 +21,8 @@ function s.initial_effect(c)
...
@@ -21,6 +21,8 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
|
TIMING_MAIN_END
)
e1
:
SetCountLimit
(
1
,
id
+
o
)
e1
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetOperation
(
s
.
desop
)
e2
:
SetOperation
(
s
.
desop
)
...
@@ -30,10 +32,10 @@ function s.lcheck(g)
...
@@ -30,10 +32,10 @@ function s.lcheck(g)
return
g
:
IsExists
(
Card
.
IsLinkRace
,
1
,
nil
,
RACE_ROCK
)
return
g
:
IsExists
(
Card
.
IsLinkRace
,
1
,
nil
,
RACE_ROCK
)
end
end
function
s
.
atkfilter
(
c
)
function
s
.
atkfilter
(
c
)
return
c
:
IsRace
(
RACE_ROCK
)
return
c
:
IsRace
(
RACE_ROCK
)
and
c
:
IsAttackAbove
(
1
)
end
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
t
o
)
and
s
.
atkfilter
(
chk
)
end
if
chkc
then
return
chkc
:
IsControler
(
t
p
)
and
s
.
atkfilter
(
chk
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
...
@@ -52,9 +54,9 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,9 +54,9 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
desfilter
(
c
,
atk
)
function
s
.
desfilter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
atk
)
and
c
:
IsAttackAbove
(
1
)
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
atk
=
c
:
GetAttack
()
local
atk
=
c
:
GetAttack
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
desfilter
(
chkc
,
atk
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
desfilter
(
chkc
,
atk
)
end
...
@@ -67,7 +69,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +69,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
atk
=
tc
:
GetAttack
()
local
atk
=
tc
:
GetAttack
()
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetAttack
()
<
atk
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetAttack
()
<
atk
or
atk
<=
0
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
return
end
end
...
@@ -80,4 +82,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,4 +82,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
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