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
74d2e1b8
Commit
74d2e1b8
authored
Feb 27, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c34036.lua
parent
214f7446
Pipeline
#33390
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c34036.lua
script/c34036.lua
+2
-2
No files found.
script/c34036.lua
View file @
74d2e1b8
...
@@ -61,7 +61,7 @@ function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,7 +61,7 @@ function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
ctfilter
,
opp_tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
ctfilter
,
opp_tp
,
LOCATION_MZONE
,
0
,
nil
)
if
#
g
==
0
then
return
false
end
if
#
g
==
0
then
return
false
end
local
maxatk
=
g
:
GetMaxGroup
(
Card
.
GetAttack
):
GetFirst
()
local
maxatk
=
g
:
GetMaxGroup
(
Card
.
GetAttack
):
GetFirst
()
return
maxatk
and
e
:
GetHandler
():
IsOnField
()
and
seq
<=
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
)
return
maxatk
and
e
:
GetHandler
():
IsOnField
()
and
seq
<=
4
and
Duel
.
CheckLocation
(
ctrl_
tp
,
LOCATION_MZONE
,
seq
)
end
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
ctfilter
,
opp_tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
ctfilter
,
opp_tp
,
LOCATION_MZONE
,
0
,
nil
)
local
maxatk
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
local
maxatk
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
...
@@ -76,7 +76,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +76,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
local
zone
=
1
<<
seq
local
zone
=
1
<<
seq
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
opp_tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
opp_tp
,
LOCATION_MZONE
,
0
,
nil
)
if
#
g
==
0
and
not
(
c
:
IsOnField
()
and
seq
<=
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
))
then
return
end
if
#
g
==
0
and
not
(
c
:
IsOnField
()
and
seq
<=
4
and
Duel
.
CheckLocation
(
ctrl_
tp
,
LOCATION_MZONE
,
seq
))
then
return
end
-- 获取最高攻击力怪兽
-- 获取最高攻击力怪兽
local
maxatk
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
local
maxatk
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
...
...
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