Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
e445d6ef
Commit
e445d6ef
authored
Jun 07, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f3bd1fa8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
c30646525.lua
c30646525.lua
+1
-1
c33236860.lua
c33236860.lua
+2
-2
c38562933.lua
c38562933.lua
+2
-2
c39357122.lua
c39357122.lua
+1
-1
c60434101.lua
c60434101.lua
+2
-2
c71717923.lua
c71717923.lua
+1
-1
c76075810.lua
c76075810.lua
+1
-1
No files found.
c30646525.lua
View file @
e445d6ef
...
...
@@ -16,7 +16,7 @@ function c30646525.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_RITUAL
end
function
c30646525
.
filter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
<=
atk
return
c
:
IsFaceup
()
and
c
:
IsDefenseBelow
(
atk
)
end
function
c30646525
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c33236860.lua
View file @
e445d6ef
...
...
@@ -39,7 +39,7 @@ function c33236860.descost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c33236860
.
filter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
<
atk
return
c
:
IsFaceup
()
and
c
:
IsDefenseBelow
(
atk
-
1
)
end
function
c33236860
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
@@ -50,7 +50,7 @@ function c33236860.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c33236860
.
desfilter
(
c
,
e
,
atk
)
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
GetDefense
()
<
atk
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsDefenseBelow
(
atk
-
1
)
end
function
c33236860
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c38562933.lua
View file @
e445d6ef
...
...
@@ -16,7 +16,7 @@ function c38562933.descon(e,tp,eg,ep,ev,re,r,rp)
local
d
=
Duel
.
GetAttackTarget
()
if
d
==
c
then
d
=
Duel
.
GetAttacker
()
end
e
:
SetLabelObject
(
d
)
return
d
and
d
:
IsFaceup
()
and
d
:
GetDefense
()
<=
c
:
GetAttack
(
)
return
d
and
d
:
IsFaceup
()
and
d
:
IsDefenseBelow
(
c
:
GetAttack
()
)
end
function
c38562933
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -25,7 +25,7 @@ end
function
c38562933
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
d
=
e
:
GetLabelObject
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
d
:
IsRelateToBattle
()
and
d
:
GetDefense
()
<=
c
:
GetAttack
(
)
then
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
d
:
IsRelateToBattle
()
and
d
:
IsDefenseBelow
(
c
:
GetAttack
()
)
then
Duel
.
Destroy
(
d
,
REASON_EFFECT
)
end
end
c39357122.lua
View file @
e445d6ef
...
...
@@ -13,7 +13,7 @@ function c39357122.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c39357122
.
filter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
<
atk
return
c
:
IsFaceup
()
and
c
:
IsDefenseBelow
(
atk
-
1
)
end
function
c39357122
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
atk
=
e
:
GetHandler
():
GetAttack
()
...
...
c60434101.lua
View file @
e445d6ef
...
...
@@ -20,7 +20,7 @@ function c60434101.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
c60434101
.
costfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
)
end
function
c60434101
.
filter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
<=
atk
return
c
:
IsFaceup
()
and
c
:
IsDefenseBelow
(
atk
)
end
function
c60434101
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
@@ -33,7 +33,7 @@ end
function
c60434101
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
GetDefense
()
<=
c
:
GetAttack
(
)
then
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsDefenseBelow
(
c
:
GetAttack
()
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
c71717923.lua
View file @
e445d6ef
...
...
@@ -16,7 +16,7 @@ function c71717923.costfilter(c)
and
Duel
.
IsExistingMatchingCard
(
c71717923
.
filter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
,
c
:
GetAttack
())
end
function
c71717923
.
filter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
<=
atk
return
c
:
IsFaceup
()
and
c
:
IsDefenseBelow
(
atk
)
end
function
c71717923
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c71717923
.
costfilter
,
1
,
nil
)
end
...
...
c76075810.lua
View file @
e445d6ef
...
...
@@ -18,7 +18,7 @@ function c76075810.descost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_EFFECT
)
end
function
c76075810
.
filter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetDefense
()
<
atk
return
c
:
IsFaceup
()
and
c
:
IsDefenseBelow
(
atk
-
1
)
end
function
c76075810
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
atk
=
e
:
GetHandler
():
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