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
Soulgamer
ygopro-222DIY-cards
Commits
868d56a3
Commit
868d56a3
authored
Jul 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
2aed48fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
expansions/script/c26801099.lua
expansions/script/c26801099.lua
+4
-0
expansions/script/c81081999.lua
expansions/script/c81081999.lua
+1
-0
No files found.
expansions/script/c26801099.lua
View file @
868d56a3
...
@@ -16,6 +16,7 @@ function cm.initial_effect(c)
...
@@ -16,6 +16,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_DIRECT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_DIRECT_ATTACK
)
e1
:
SetCondition
(
cm
.
dircon
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--ATK Gain
--ATK Gain
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -42,6 +43,9 @@ end
...
@@ -42,6 +43,9 @@ end
function
cm
.
ffilter
(
c
)
function
cm
.
ffilter
(
c
)
return
c
:
IsLevelBelow
(
6
)
and
(
c
:
IsFusionType
(
TYPE_FUSION
)
or
bit
.
band
(
c
:
GetFusionType
(),
0x81
)
==
0x81
)
return
c
:
IsLevelBelow
(
6
)
and
(
c
:
IsFusionType
(
TYPE_FUSION
)
or
bit
.
band
(
c
:
GetFusionType
(),
0x81
)
==
0x81
)
end
end
function
cm
.
dircon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
26801001
)
>
0
end
function
cm
.
val
(
e
,
c
)
function
cm
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
)
*
300
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
)
*
300
end
end
...
...
expansions/script/c81081999.lua
View file @
868d56a3
...
@@ -3,6 +3,7 @@ local m=81081999
...
@@ -3,6 +3,7 @@ local m=81081999
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
81081000
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
...
...
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