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
7c8e37bb
Commit
7c8e37bb
authored
Nov 05, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 先手必掌
parent
046a03a4
Pipeline
#41498
canceled with stages
in 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
26PR.cdb
26PR.cdb
+0
-0
script/c100253004.lua
script/c100253004.lua
+11
-4
No files found.
26PR.cdb
View file @
7c8e37bb
No preview for this file type
script/c100253004.lua
View file @
7c8e37bb
...
@@ -21,10 +21,9 @@ end
...
@@ -21,10 +21,9 @@ end
function
s
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
not
d
or
a
:
GetControler
()
==
d
:
GetControler
()
then
return
false
end
if
a
:
IsControler
(
tp
)
then
e
:
SetLabelObject
(
a
)
else
e
:
SetLabelObject
(
d
)
end
if
a
:
IsControler
(
tp
)
then
e
:
SetLabelObject
(
a
)
else
e
:
SetLabelObject
(
d
)
end
local
g
=
a
:
GetColumnGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
local
g
=
a
:
GetColumnGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
if
g
:
IsContains
(
d
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
if
d
and
g
:
IsContains
(
d
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
return
true
return
true
end
end
function
s
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -39,16 +38,20 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,16 +38,20 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
d
=
0
local
d
=
0
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
if
not
tc
:
IsRelateToChain
()
then
return
end
d
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
1
),
aux
.
Stringid
(
id
,
2
),
aux
.
Stringid
(
id
,
3
))
+
1
d
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
1
),
aux
.
Stringid
(
id
,
2
),
aux
.
Stringid
(
id
,
3
))
+
1
else
else
d
=
Duel
.
TossDice
(
tp
,
1
)
d
=
Duel
.
TossDice
(
tp
,
1
)
end
end
if
not
tc
:
IsRelateToChain
()
then
return
end
if
d
==
1
or
d
==
4
then
if
d
==
1
or
d
==
4
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
4
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetValue
(
s
.
indct
)
e1
:
SetValue
(
s
.
indct
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
@@ -60,12 +63,14 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,12 +63,14 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
-
500
)
e2
:
SetValue
(
-
500
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
if
tc
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
if
not
tc
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
5
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e3
:
SetValue
(
s
.
efilter
)
e3
:
SetValue
(
s
.
efilter
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
...
@@ -77,10 +82,12 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,10 +82,12 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetValue
(
1000
)
e4
:
SetValue
(
1000
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
if
tc
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
if
not
tc
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
6
))
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_EXTRA_ATTACK_MONSTER
)
e5
:
SetCode
(
EFFECT_EXTRA_ATTACK_MONSTER
)
e5
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e5
:
SetValue
(
1
)
e5
:
SetValue
(
1
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e5
)
tc
:
RegisterEffect
(
e5
)
...
...
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