Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
70b05782
Commit
70b05782
authored
Dec 23, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
not a==b is the same as (not a)==b
parent
90eac737
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
script/c57707471.lua
script/c57707471.lua
+1
-1
script/c59951714.lua
script/c59951714.lua
+1
-1
script/c62980542.lua
script/c62980542.lua
+2
-2
script/c65196094.lua
script/c65196094.lua
+1
-1
script/c79844764.lua
script/c79844764.lua
+1
-1
No files found.
script/c57707471.lua
View file @
70b05782
...
@@ -30,7 +30,7 @@ function c57707471.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c57707471.initial_effect(c)
e3
:
SetOperation
(
c57707471
.
desop
)
e3
:
SetOperation
(
c57707471
.
desop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
if
c57707471
.
xyz_filter
then
if
c57707471
.
xyz_filter
then
c57707471
.
xyz_filter
=
function
(
mc
)
return
mc
:
IsXyzLevel
(
c
,
lv
)
end
c57707471
.
xyz_filter
=
function
(
mc
)
return
mc
:
IsXyzLevel
(
c
,
6
)
end
end
end
end
end
c57707471
.
xyz_number
=
21
c57707471
.
xyz_number
=
21
...
...
script/c59951714.lua
View file @
70b05782
...
@@ -26,7 +26,7 @@ function c59951714.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c59951714.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
59951714
,
ACTIVITY_SPSUMMON
,
c59951714
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
59951714
,
ACTIVITY_SPSUMMON
,
c59951714
.
counterfilter
)
end
end
function
c59951714
.
counterfilter
(
c
)
function
c59951714
.
counterfilter
(
c
)
return
not
c
:
GetSummonLocation
()
=
=
LOCATION_EXTRA
return
c
:
GetSummonLocation
()
~
=
LOCATION_EXTRA
end
end
function
c59951714
.
spr
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59951714
.
spr
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c62980542.lua
View file @
70b05782
...
@@ -6,11 +6,11 @@ function c62980542.initial_effect(c)
...
@@ -6,11 +6,11 @@ function c62980542.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_DAMAGE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
Set
Cost
(
c62980542
.
discost
)
e1
:
Set
Target
(
c62980542
.
distg
)
e1
:
SetOperation
(
c62980542
.
disop
)
e1
:
SetOperation
(
c62980542
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c62980542
.
dis
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c62980542
.
dis
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
3
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
3
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
3
)
Duel
.
SetTargetParam
(
3
)
...
...
script/c65196094.lua
View file @
70b05782
...
@@ -13,7 +13,7 @@ function c65196094.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c65196094.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
65196094
,
ACTIVITY_SPSUMMON
,
c65196094
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
65196094
,
ACTIVITY_SPSUMMON
,
c65196094
.
counterfilter
)
end
end
function
c65196094
.
counterfilter
(
c
)
function
c65196094
.
counterfilter
(
c
)
return
not
c
:
GetSummonType
()
=
=
SUMMON_TYPE_SYNCHRO
return
c
:
GetSummonType
()
~
=
SUMMON_TYPE_SYNCHRO
end
end
function
c65196094
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65196094
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
...
...
script/c79844764.lua
View file @
70b05782
...
@@ -11,7 +11,7 @@ function c79844764.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c79844764.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
79844764
,
ACTIVITY_SPSUMMON
,
c79844764
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
79844764
,
ACTIVITY_SPSUMMON
,
c79844764
.
counterfilter
)
end
end
function
c79844764
.
counterfilter
(
c
)
function
c79844764
.
counterfilter
(
c
)
return
not
c
:
GetSummonLocation
()
=
=
LOCATION_EXTRA
return
c
:
GetSummonLocation
()
~
=
LOCATION_EXTRA
end
end
function
c79844764
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c79844764
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
79844764
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
79844764
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
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