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
7882a452
Commit
7882a452
authored
Sep 03, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
a6a72417
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c4231015.lua
expansions/script/c4231015.lua
+2
-2
No files found.
expansions/script/c4231015.lua
View file @
7882a452
...
@@ -12,14 +12,14 @@ function c4231015.initial_effect(c)
...
@@ -12,14 +12,14 @@ function c4231015.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
e1
:
SetCondition
(
function
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_DUAL
)
end
)
e1
:
SetCondition
(
function
(
e
,
c
)
return
not
e
:
GetHandler
():
GetEquipTarget
()
:
IsType
(
TYPE_DUAL
)
end
)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetValue
(
TYPE_TUNER
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--duel status
--duel status
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_DUAL_STATUS
)
e2
:
SetCode
(
EFFECT_DUAL_STATUS
)
e2
:
SetCondition
(
function
(
e
,
c
)
return
c
:
IsType
(
TYPE_DUAL
)
end
)
e2
:
SetCondition
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetEquipTarget
()
:
IsType
(
TYPE_DUAL
)
end
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--Equip limit
--Equip limit
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
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