Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
35b5e74a
Commit
35b5e74a
authored
Feb 03, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c99999026.lua
parent
506e0d12
Pipeline
#32927
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
34 deletions
+33
-34
script/c99999026.lua
script/c99999026.lua
+33
-34
No files found.
script/c99999026.lua
View file @
35b5e74a
...
...
@@ -40,7 +40,7 @@ function c99999026.thfilter1(c,tp)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
c99999026
.
thfilter2
(
c
,
tp
)
return
c
:
IsAbleToChangeControler
()
and
c
:
IsSummonPlayer
(
1
-
tp
)
and
c
:
IsControler
(
1
-
tp
)
return
c
:
IsAbleToChangeControler
()
and
c
:
IsSummonPlayer
(
1
-
tp
)
and
c
:
IsControler
(
1
-
tp
)
and
c
:
IsOnField
()
end
function
c99999026
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c99999026
.
thfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
@@ -53,39 +53,38 @@ end
function
c99999026
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c99999026
.
thfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
if
g1
:
GetCount
()
>
0
then
if
Duel
.
Release
(
g1
,
REASON_EFFECT
)
~=
0
then
local
g2
=
eg
:
Filter
(
c99999026
.
thfilter2
,
nil
,
tp
)
local
tc
=
g2
:
GetFirst
()
if
not
tc
then
return
end
if
g2
:
GetCount
()
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
end
if
Duel
.
GetControl
(
tc
,
tp
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
--cannot release
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_UNRELEASABLE_SUM
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UNRELEASABLE_NONSUM
)
tc
:
RegisterEffect
(
e4
)
end
Duel
.
Release
(
g1
,
REASON_EFFECT
)
~=
0
then
local
g2
=
eg
:
Filter
(
c99999026
.
thfilter2
,
nil
,
tp
)
local
tc
=
g2
:
GetFirst
()
if
not
tc
then
return
end
if
g2
:
GetCount
()
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
tc
=
g2
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
end
if
Duel
.
GetControl
(
tc
,
tp
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
--cannot release
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_UNRELEASABLE_SUM
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UNRELEASABLE_NONSUM
)
tc
:
RegisterEffect
(
e4
)
end
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