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
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
八宫一月
ygopro-THC-cards
Commits
25ee815e
Commit
25ee815e
authored
Jun 26, 2022
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74563610.lua
parent
25fc71bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c74563610.lua
script/c74563610.lua
+3
-3
No files found.
script/c74563610.lua
View file @
25ee815e
...
...
@@ -41,7 +41,7 @@ function c74563610.cost1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
local
sel
=
0
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
nil
,
e
:
GetHandler
())
then
sel
=
sel
+
1
end
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
e
:
GetHandler
())
then
sel
=
sel
+
1
end
if
Duel
.
CheckLPCost
(
tp
,
3666
)
or
(
Duel
.
CheckLPCost
(
tp
,
666
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
74563666
))
then
sel
=
sel
+
2
end
e
:
SetLabel
(
sel
)
return
sel
~=
0
...
...
@@ -74,7 +74,7 @@ function c74563610.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
count
=
sg
:
GetCount
()
local
count1
=
0
if
count
%
3
~=
0
then
count1
=
(
count
//
3
+
1
)
*
2
count1
=
count
//
3
*
2
+
1
else
count1
=
count
//
3
*
2
end
...
...
@@ -85,7 +85,7 @@ function c74563610.activate(e,tp,eg,ep,ev,re,r,rp)
local
count
=
sg
:
GetCount
()
local
count1
=
0
if
count
%
3
~=
0
then
count1
=
(
count
//
3
+
1
)
*
2
count1
=
count
//
3
*
2
+
1
else
count1
=
count
//
3
*
2
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