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
Ai
ygopro-222DIY-cards
Commits
d7d616dd
Commit
d7d616dd
authored
Sep 22, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean useless
parent
428123aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12043081.lua
expansions/script/c12043081.lua
+2
-2
expansions/script/c45700004.lua
expansions/script/c45700004.lua
+0
-1
No files found.
expansions/222DIY.cdb
View file @
d7d616dd
No preview for this file type
expansions/script/c12043081.lua
View file @
d7d616dd
...
@@ -48,12 +48,12 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,12 +48,12 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetValue
(
cm
.
aclimit1
)
e1
:
SetValue
(
cm
.
aclimit1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
function
cm
.
aclimit1
(
e
,
re
,
tp
)
function
cm
.
aclimit1
(
e
,
re
,
tp
)
return
Duel
.
GetActivityCount
(
1
-
tp
,
m
)
<
2
and
(
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_TRAP
)
)
return
Duel
.
GetActivityCount
(
e
:
GetHandlerPlayer
(),
m
)
<
3
and
(
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_TRAP
)
)
end
end
\ No newline at end of file
expansions/script/c45700004.lua
View file @
d7d616dd
...
@@ -9,7 +9,6 @@ function c45700004.initial_effect(c)
...
@@ -9,7 +9,6 @@ function c45700004.initial_effect(c)
e1
:
SetOperation
(
c45700004
.
activate
)
e1
:
SetOperation
(
c45700004
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
function
c45700004
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c45700004
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
not
Duel
.
CheckPhaseActivity
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
not
Duel
.
CheckPhaseActivity
()
end
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