Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
079876ed
Commit
079876ed
authored
Oct 04, 2021
by
gg123gg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c13959998.lua
parent
3cceaf8a
Pipeline
#6041
passed with stages
in 25 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
18 deletions
+38
-18
expansions/script/c13959998.lua
expansions/script/c13959998.lua
+38
-18
No files found.
expansions/script/c13959998.lua
View file @
079876ed
...
...
@@ -399,29 +399,49 @@ function this.custompick(mainc,extrac,packc)
end
function
this
.
setOverride
()
Card
.
IsSetCard
=
aux
.
TRUE
Card
.
IsPreviousSetCard
=
aux
.
TRUE
Card
.
IsFusionSetCard
=
aux
.
TRUE
Card
.
IsLinkSetCard
=
aux
.
TRUE
Card
.
IsOriginalSetCard
=
aux
.
TRUE
Card
.
IsSetCard
=
aux
.
TRUE
Card
.
IsPreviousSetCard
=
aux
.
TRUE
Card
.
IsFusionSetCard
=
aux
.
TRUE
Card
.
IsLinkSetCard
=
aux
.
TRUE
Card
.
IsOriginalSetCard
=
aux
.
TRUE
Card
.
IsFusionSetCard
=
aux
.
TRUE
aux
.
IsMaterialListSetCard
=
aux
.
TRUE
end
function
this
.
GetChainInfo
(
ev
,
...
)
local
code_list
=
{
...
}
local
chaininfolist
=
{}
for
i
,
v
in
ipairs
(
code_list
)
do
if
v
==
CHAININFO_TRIGGERING_RACE
then
table.insert
(
chaininfolist
,
RACE_ALL
)
elseif
v
==
CHAININFO_TRIGGERING_ATTRIBUTE
then
table.insert
(
chaininfolist
,
0x7f
)
else
table.insert
(
chaininfolist
,
this
.
GetChainInfotmp
(
ev
,
v
))
end
end
return
table.unpack
(
chaininfolist
)
end
function
this
.
raceOverride
()
Card
.
IsRace
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
IsLinkRace
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
GetRace
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
RACE_ALL
end
return
nil
end
Card
.
GetLinkRace
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
RACE_ALL
end
return
nil
end
Card
.
GetOriginalRace
=
function
(
c
)
if
c
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
then
return
RACE_ALL
end
return
nil
end
Card
.
IsRace
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
IsLinkRace
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
GetRace
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
RACE_ALL
end
return
nil
end
Card
.
GetLinkRace
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
RACE_ALL
end
return
nil
end
Card
.
GetOriginalRace
=
function
(
c
)
if
c
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
then
return
RACE_ALL
end
return
nil
end
Card
.
GetPreviousRaceOnField
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
RACE_ALL
end
return
nil
end
this
.
GetChainInfotmp
=
Duel
.
GetChainInfo
Duel
.
GetChainInfo
=
this
.
GetChainInfo
end
function
this
.
attrOverride
()
Card
.
IsAttribute
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
IsFusionAttribute
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
IsLinkAttribute
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
GetAttribute
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
0x7f
end
return
nil
end
Card
.
GetFusionAttribute
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
0x7f
end
return
nil
end
Card
.
GetLinkAttribute
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
0x7f
end
return
nil
end
Card
.
GetOriginalAttribute
=
function
(
c
)
if
c
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
then
return
0x7f
end
return
nil
end
Card
.
IsAttribute
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
IsFusionAttribute
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
IsLinkAttribute
=
function
(
c
)
return
c
and
c
:
IsType
(
TYPE_MONSTER
)
end
Card
.
GetAttribute
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
0x7f
end
return
nil
end
Card
.
GetFusionAttribute
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
0x7f
end
return
nil
end
Card
.
GetLinkAttribute
=
function
(
c
)
if
c
and
c
:
IsType
(
TYPE_MONSTER
)
then
return
0x7f
end
return
nil
end
Card
.
GetOriginalAttribute
=
function
(
c
)
if
c
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
then
return
0x7f
end
return
nil
end
Card
.
GetPreviousAttributeOnField
=
function
(
c
)
if
c
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
then
return
0x7f
end
return
nil
end
end
function
this
.
ritualEnhance
(
c
)
...
...
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