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
e3b15f85
Commit
e3b15f85
authored
Apr 01, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
b4625b55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
expansions/script/c12032014.lua
expansions/script/c12032014.lua
+3
-2
expansions/script/c92369022.lua
expansions/script/c92369022.lua
+8
-1
No files found.
expansions/script/c12032014.lua
View file @
e3b15f85
...
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
cm
.
eftg
)
e3
:
SetLabelObject
(
e
2
)
e3
:
SetLabelObject
(
e
4
)
c
:
RegisterEffect
(
e3
)
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -82,10 +82,11 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
end
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
local
te
=
c
:
GetActivateEffect
()
te
:
UseCountLimit
(
tp
,
1
,
true
)
local
tep
=
c
:
GetControler
()
local
cost
=
te
:
GetCost
()
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
RaiseEvent
(
c
,
4179255
,
e
,
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
Duel
.
RaiseEvent
(
c
,
4179255
,
t
e
,
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
end
end
\ No newline at end of file
expansions/script/c92369022.lua
View file @
e3b15f85
...
...
@@ -121,7 +121,14 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
return
false
else
e
:
GetOwner
():
SetTurnCounter
(
ct
+
1
)
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsType
(
TYPE_FIELD
)
and
tc
:
IsPreviousLocation
(
LOCATION_FZONE
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
elseif
tc
:
IsType
(
TYPE_PENDULUM
)
and
tc
:
IsPreviousLocation
(
LOCATION_PZONE
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
else
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
end
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