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
GuGu
ygopro-THC-cards
Commits
bd9319ae
Commit
bd9319ae
authored
Dec 13, 2021
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix c74563015.lua
parent
c6e52ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
15 deletions
+2
-15
script/c74563015.lua
script/c74563015.lua
+2
-15
No files found.
script/c74563015.lua
View file @
bd9319ae
...
...
@@ -51,7 +51,7 @@ function c74563015.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c74563015
.
desfilter2
(
c
,
num
)
return
c74563015
.
customdef
(
c
)
<=
num
return
c
:
IsFaceup
()
and
c
74563015
.
customdef
(
c
)
<=
num
end
function
c74563015
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
@@ -62,21 +62,8 @@ function c74563015.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c74563015
.
desfilter2
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
nil
,
lp
)
and
counter1
-
counter2
<=
0
end
Duel
.
RegisterFlagEffect
(
tp
,
74563015
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c74563015
.
gselect
(
g
,
num
)
local
def
=
0
local
tc
=
g
:
GetFirst
()
while
tc
do
if
tc
:
IsDefenseAbove
(
0
)
and
tc
:
IsFaceup
()
then
def
=
def
+
tc
:
GetDefense
()
else
def
=
def
+
1200
end
tc
=
g
:
GetNext
()
end
return
def
<=
num
end
function
c74563015
.
customdef
(
c
)
if
c
:
IsType
(
TYPE_LINK
|
TYPE_SPELL
|
TYPE_TRAP
)
and
c
:
IsFaceup
()
then
if
c
:
IsType
(
TYPE_LINK
|
TYPE_SPELL
|
TYPE_TRAP
)
then
return
1200
else
return
c
:
GetDefense
()
...
...
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