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
f9b5604f
Commit
f9b5604f
authored
Nov 17, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c30005512.lua
parent
84bf7702
Pipeline
#31198
failed with stages
in 17 minutes and 44 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
expansions/script/c30005512.lua
expansions/script/c30005512.lua
+4
-3
No files found.
expansions/script/c30005512.lua
View file @
f9b5604f
...
...
@@ -4,10 +4,9 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
--Effect 0
local
e01
=
Effect
.
CreateEffect
(
c
)
e01
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
--
e01:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e01
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e01
:
SetCode
(
EVENT_FREE_CHAIN
)
e01
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e01
)
--Effect 1
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -34,7 +33,9 @@ function cm.initial_effect(c)
end
--Effect 1
function
cm
.
spf
(
c
,
fc
,
e
,
tp
)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
())
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsAbleToHand
())
local
b1
=
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
())
local
b2
=
aux
.
IsCodeListed
(
fc
,
c
:
GetCode
())
return
(
b1
or
b2
)
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsAbleToHand
())
end
function
cm
.
cff
(
c
,
e
,
tp
)
local
b1
=
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
...
...
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