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
f96d9ae6
Commit
f96d9ae6
authored
Sep 11, 2021
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c1110010.lua
parent
2416e98a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
23 deletions
+18
-23
expansions/script/c1110010.lua
expansions/script/c1110010.lua
+18
-23
No files found.
expansions/script/c1110010.lua
View file @
f96d9ae6
...
...
@@ -77,30 +77,25 @@ function c1110010.op2(e,tp,eg,ep,ev,re,r,rp,chk)
end
--
function
c1110010
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e3_1
=
Effect
.
CreateEffect
(
c
)
e3_1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3_1
:
SetDescription
(
1104
)
e3_1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e3_1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3_1
:
SetRange
(
LOCATION_MZONE
)
e3_1
:
SetCountLimit
(
1
)
e3_1
:
SetReset
(
RESET_EVENT
+
0x1ee0000
+
RESET_PHASE
+
PHASE_END
)
e3_1
:
SetCondition
(
aux
.
SpiritReturnCondition
)
e3_1
:
SetTarget
(
c1110010
.
tg3_1
)
e3_1
:
SetOperation
(
c1110010
.
op3_1
)
c
:
RegisterEffect
(
e3_1
)
local
e3_2
=
e3_1
:
Clone
()
e3_2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
c
:
RegisterEffect
(
e3_2
)
local
c
=
e
:
GetHandler
()
local
e3_1
=
Effect
.
CreateEffect
(
c
)
e3_1
:
SetCategory
(
CATEGORY_TOHAND
)
e3_1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3_1
:
SetDescription
(
1104
)
e3_1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3_1
:
SetRange
(
LOCATION_MZONE
)
e3_1
:
SetCountLimit
(
1
)
e3_1
:
SetReset
(
RESET_EVENT
+
0xd6e0000
+
RESET_PHASE
+
PHASE_END
)
e3_1
:
SetCondition
(
aux
.
SpiritReturnConditionForced
)
e3_1
:
SetTarget
(
aux
.
SpiritReturnTargetForced
)
e3_1
:
SetOperation
(
c1110010
.
op3_1
)
c
:
RegisterEffect
(
e3_1
)
local
e3_2
=
e3_1
:
Clone
()
e3_2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3_2
:
SetCondition
(
aux
.
SpiritReturnConditionOptional
)
e3_2
:
SetTarget
(
aux
.
SpiritReturnTargetOptional
)
c
:
RegisterEffect
(
e3_2
)
end
--
function
c1110010
.
tg3_1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
c
,
1
,
0
,
0
)
end
--
function
c1110010
.
op3_1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
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