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
ae34c6f2
Commit
ae34c6f2
authored
Jul 10, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Kuebiko
parent
9521c3a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
script/c101205083.lua
script/c101205083.lua
+11
-8
No files found.
script/c101205083.lua
View file @
ae34c6f2
...
@@ -40,10 +40,10 @@ function s.discfilter(c,tp)
...
@@ -40,10 +40,10 @@ function s.discfilter(c,tp)
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
then
return
false
end
if
rp
~=
1
-
tp
or
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
if
rp
~=
1
-
tp
or
not
re
:
Is
ActiveType
(
TYPE_MONSTER
)
or
not
re
:
Is
HasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
loc
,
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TARGET_CARDS
)
return
tg
and
tg
:
IsExists
(
s
.
discfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
return
loc
==
LOCATION_MZONE
and
tg
and
tg
:
IsExists
(
s
.
discfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
end
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -58,7 +58,10 @@ end
...
@@ -58,7 +58,10 @@ end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
tg
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
local
tg
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
if
Duel
.
SSet
(
tp
,
e
:
GetHandler
())
and
Duel
.
NegateEffect
(
ev
)
and
tg
:
IsContains
(
re
:
GetHandler
())
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
local
c
=
e
:
GetHandler
()
Duel
.
SendtoHand
(
eg
,
nil
,
REASON_EFFECT
)
local
rc
=
re
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SSet
(
tp
,
c
)
and
Duel
.
NegateEffect
(
ev
)
and
tg
:
IsContains
(
rc
)
and
rc
:
IsRelateToEffect
(
re
)
then
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
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