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
298770c9
Commit
298770c9
authored
Jan 07, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c26100.lua 满场跳怪
parent
73e8a541
Pipeline
#19219
passed with stage
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
22 deletions
+15
-22
script/c26100.lua
script/c26100.lua
+15
-22
No files found.
script/c26100.lua
View file @
298770c9
...
@@ -76,33 +76,26 @@ function c26100.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,33 +76,26 @@ function c26100.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c26100
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26100
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
e
:
SetLabel
(
100
)
local
rg
=
Group
.
CreateGroup
()
if
chk
==
0
then
return
true
end
local
flag
=
0
end
local
zc
=
g
:
GetFirst
()
function
c26100
.
costfilter
(
c
,
e
,
tp
)
while
zc
do
return
c
:
IsReleasable
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
or
c
:
IsLocation
(
LOCATION_MZONE
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
)
if
Duel
.
IsExistingMatchingCard
(
c26100
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
then
flag
=
1
rg
:
AddCard
(
zc
)
end
zc
=
g
:
GetNext
()
end
if
chk
==
0
then
return
flag
>
0
end
local
rc
=
rg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Release
(
rc
,
REASON_COST
)
if
rc
:
GetFirst
():
IsType
(
TYPE_RITUAL
)
then
e
:
SetLabel
(
2
)
else
e
:
SetLabel
(
0
)
end
end
end
function
c26100
.
filter
(
c
,
e
,
tp
)
function
c26100
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x208
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
and
c
:
GetLevel
()
==
4
return
c
:
IsSetCard
(
0x208
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
and
c
:
GetLevel
()
==
4
end
end
function
c26100
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26100
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
rg
=
Duel
.
GetMatchingGroup
(
c26100
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c26100
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPSUMMON
,
nil
,
1
,
0
,
0
)
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
return
rg
and
Duel
.
IsExistingMatchingCard
(
c26100
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
e
:
SetLabel
(
0
)
local
g
=
rg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPSUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
c26100
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26100
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
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