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
6f51b4ca
Commit
6f51b4ca
authored
May 07, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ドラ・ドラ
parent
20609f1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
script/c101205027.lua
script/c101205027.lua
+1
-1
script/c101205028.lua
script/c101205028.lua
+1
-2
No files found.
script/c101205027.lua
View file @
6f51b4ca
...
...
@@ -111,5 +111,5 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFieldGroup
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
local
d
=
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
-
(
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
0
,
LOCATION_ONFIELD
)
+
6
)
local
sg
=
g
:
RandomSelect
(
e
:
GetOwnerPlayer
(),
d
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
\ No newline at end of file
script/c101205028.lua
View file @
6f51b4ca
...
...
@@ -50,12 +50,11 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRace
(
RACE_DRAGON
)
and
tc
:
IsAttribute
(
ATTRIBUTE_FIRE
)
then
Duel
.
DisableShuffleCheck
()
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
==
0
and
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
==
0
and
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
local
atk
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
0
,
nil
)
*
1000
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
atk
>
0
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetValue
(
atk
)
...
...
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