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
d484ca1f
Commit
d484ca1f
authored
Apr 18, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 恋する乙女
parent
48d0fb15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
script/c100240001.lua
script/c100240001.lua
+6
-3
No files found.
script/c100240001.lua
View file @
d484ca1f
...
...
@@ -36,7 +36,8 @@ function s.atklimit(e,c)
return
c
==
e
:
GetHandler
()
end
function
s
.
cccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttackTarget
()
~=
nil
local
c
=
e
:
GetHandler
()
return
c
:
IsRelateToBattle
()
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsControlerCanBeChanged
()
and
c
:
GetCounter
(
0x106e
)
>
0
...
...
@@ -54,11 +55,11 @@ function s.cctg(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
op
)
if
op
==
1
then
e
:
SetCategory
(
CATEGORY_COUNTER
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
0x106e
,
1
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
0x106e
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
g
,
1
,
0
,
0
)
elseif
op
==
2
then
e
:
SetCategory
(
CATEGORY_CONTROL
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
1
,
0
,
0
)
end
end
...
...
@@ -68,6 +69,7 @@ function s.ccop(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
0x106e
,
1
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
HintSelection
(
g
)
tc
:
AddCounter
(
0x106e
,
1
)
end
else
...
...
@@ -75,6 +77,7 @@ function s.ccop(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
HintSelection
(
g
)
Duel
.
GetControl
(
tc
,
tp
)
end
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