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
403b3fbf
Commit
403b3fbf
authored
Dec 20, 2018
by
mercury233
Committed by
GitHub
Dec 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update (#1125)
parent
0c6af7b7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
c30757127.lua
c30757127.lua
+1
-1
c76263644.lua
c76263644.lua
+1
-1
c90579153.lua
c90579153.lua
+1
-1
c93657021.lua
c93657021.lua
+1
-1
utility.lua
utility.lua
+1
-1
No files found.
c30757127.lua
View file @
403b3fbf
...
@@ -19,7 +19,7 @@ function c30757127.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c30757127.initial_effect(c)
e1
:
SetOperation
(
c30757127
.
atkop
)
e1
:
SetOperation
(
c30757127
.
atkop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c30757127
.
material_setcode
=
0x8
c30757127
.
material_setcode
=
0x
c00
8
function
c30757127
.
ffilter
(
c
)
function
c30757127
.
ffilter
(
c
)
return
c
:
IsFusionAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsFusionType
(
TYPE_EFFECT
)
return
c
:
IsFusionAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsFusionType
(
TYPE_EFFECT
)
end
end
...
...
c76263644.lua
View file @
403b3fbf
...
@@ -29,7 +29,7 @@ function c76263644.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c76263644.initial_effect(c)
e3
:
SetOperation
(
c76263644
.
spop
)
e3
:
SetOperation
(
c76263644
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c76263644
.
material_setcode
=
0x8
c76263644
.
material_setcode
=
0x
c00
8
function
c76263644
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c76263644
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_BATTLE_PHASE
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_BATTLE_PHASE
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c90579153.lua
View file @
403b3fbf
...
@@ -28,7 +28,7 @@ function c90579153.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c90579153.initial_effect(c)
e2
:
SetOperation
(
c90579153
.
desop
)
e2
:
SetOperation
(
c90579153
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c90579153
.
material_setcode
=
0x8
c90579153
.
material_setcode
=
0x
c00
8
function
c90579153
.
filter
(
c
)
function
c90579153
.
filter
(
c
)
return
c
:
IsSetCard
(
0xc008
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
GetAttack
()
>
0
return
c
:
IsSetCard
(
0xc008
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
GetAttack
()
>
0
end
end
...
...
c93657021.lua
View file @
403b3fbf
...
@@ -25,7 +25,7 @@ function c93657021.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c93657021.initial_effect(c)
e2
:
SetOperation
(
c93657021
.
indop
)
e2
:
SetOperation
(
c93657021
.
indop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c93657021
.
material_setcode
=
0x8
c93657021
.
material_setcode
=
0x
c00
8
function
c93657021
.
matfilter
(
c
)
function
c93657021
.
matfilter
(
c
)
return
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsFusionSetCard
(
0xc008
)
return
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsFusionSetCard
(
0xc008
)
end
end
...
...
utility.lua
View file @
403b3fbf
...
@@ -1765,7 +1765,7 @@ function Auxiliary.IsMaterialListCode(c,code)
...
@@ -1765,7 +1765,7 @@ function Auxiliary.IsMaterialListCode(c,code)
return
false
return
false
end
end
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
return
c
.
material_setcode
and
c
.
material_setcode
==
setcode
return
c
.
material_setcode
and
c
.
material_setcode
&
setcode
==
setcode
end
end
function
Auxiliary
.
IsCodeListed
(
c
,
code
)
function
Auxiliary
.
IsCodeListed
(
c
,
code
)
if
not
c
.
card_code_list
then
return
false
end
if
not
c
.
card_code_list
then
return
false
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