Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
5f77dc4f
Commit
5f77dc4f
authored
Nov 22, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update not must pay lp cost
fix
https://github.com/Fluorohydride/ygopro/issues/2397
parent
54b714f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
c31712840.lua
c31712840.lua
+2
-2
c32603633.lua
c32603633.lua
+2
-2
c86532744.lua
c86532744.lua
+2
-2
No files found.
c31712840.lua
View file @
5f77dc4f
...
@@ -22,8 +22,8 @@ function c31712840.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,8 +22,8 @@ function c31712840.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c31712840
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31712840
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
10
,
true
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
10
)
end
Duel
.
PayLPCost
(
tp
,
lp
-
10
,
true
)
Duel
.
PayLPCost
(
tp
,
lp
-
10
)
end
end
function
c31712840
.
spfilter
(
c
,
e
,
tp
)
function
c31712840
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x107f
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
return
c
:
IsSetCard
(
0x107f
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
c32603633.lua
View file @
5f77dc4f
...
@@ -12,8 +12,8 @@ function c32603633.initial_effect(c)
...
@@ -12,8 +12,8 @@ function c32603633.initial_effect(c)
end
end
function
c32603633
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c32603633
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
100
,
true
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
100
)
end
Duel
.
PayLPCost
(
tp
,
lp
-
100
,
true
)
Duel
.
PayLPCost
(
tp
,
lp
-
100
)
end
end
function
c32603633
.
filter
(
c
,
e
,
tp
)
function
c32603633
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x3d
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x3d
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c86532744.lua
View file @
5f77dc4f
...
@@ -25,9 +25,9 @@ function c86532744.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,9 +25,9 @@ function c86532744.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c86532744
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c86532744
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
10
,
true
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
3
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
10
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
3
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
3
,
3
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
3
,
3
,
REASON_COST
)
Duel
.
PayLPCost
(
tp
,
lp
-
10
,
true
)
Duel
.
PayLPCost
(
tp
,
lp
-
10
)
end
end
function
c86532744
.
filter
(
c
)
function
c86532744
.
filter
(
c
)
return
c
:
IsAbleToRemove
()
return
c
:
IsAbleToRemove
()
...
...
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