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
5dbc3c8f
Commit
5dbc3c8f
authored
Oct 05, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 暗黒海龍-ドライアグル
parent
8423a6aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
SUDA.cdb
SUDA.cdb
+0
-0
script/c101207022.lua
script/c101207022.lua
+11
-3
No files found.
SUDA.cdb
View file @
5dbc3c8f
No preview for this file type
script/c101207022.lua
View file @
5dbc3c8f
--暗黒海龍
-
ドライアグル
--暗黒海龍
-
ドライアグル
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--special summon
...
...
@@ -48,7 +48,15 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
g
:
GetFirst
():
IsType
(
TYPE_MONSTER
)
then
e
:
SetLabel
(
100
)
else
e
:
SetLabel
(
1
)
e
:
SetLabel
(
200
)
end
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetLabel
()
>
0
end
if
e
:
GetLabel
()
==
100
then
e
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DAMAGE
)
elseif
e
:
GetLabel
()
==
200
then
e
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_TOGRAVE
+
CATEGORY_DECKDES
)
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -63,7 +71,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetLabel
()
==
100
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
elseif
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
elseif
e
:
GetLabel
()
==
200
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_EFFECT
)
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