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
ac80ea2f
Commit
ac80ea2f
authored
Oct 15, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for ジェムナイト
parent
7e945d9f
Pipeline
#30470
passed with stages
in 1 minute and 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
18 deletions
+24
-18
TW02.cdb
TW02.cdb
+0
-0
script/c100227043.lua
script/c100227043.lua
+12
-9
script/c100227045.lua
script/c100227045.lua
+12
-9
No files found.
TW02.cdb
View file @
ac80ea2f
No preview for this file type
script/c100227043.lua
View file @
ac80ea2f
...
@@ -53,15 +53,18 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,15 +53,18 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
Duel
.
GetFlagEffect
(
tp
,
100227043
)
==
0
then
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
Duel
.
RegisterFlagEffect
(
tp
,
100227043
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e1
:
SetCondition
(
s
.
damcon
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetValue
(
s
.
damval
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetCondition
(
s
.
damcon
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e1
:
SetValue
(
s
.
damval
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
...
...
script/c100227045.lua
View file @
ac80ea2f
...
@@ -133,15 +133,18 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -133,15 +133,18 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
Duel
.
GetFlagEffect
(
tp
,
100227043
)
==
0
then
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
Duel
.
RegisterFlagEffect
(
tp
,
100227043
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e1
:
SetCondition
(
s
.
damcon
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetValue
(
s
.
damval
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetCondition
(
s
.
damcon
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e1
:
SetValue
(
s
.
damval
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
end
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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