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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
f522a414
Commit
f522a414
authored
Aug 09, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
63e931fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
expansions/script/c11451618.lua
expansions/script/c11451618.lua
+0
-1
expansions/script/c17243495.lua
expansions/script/c17243495.lua
+2
-2
No files found.
expansions/script/c11451618.lua
View file @
f522a414
...
...
@@ -19,7 +19,6 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_FLIP
)
--e2:SetCountLimit(1,m)
e2
:
SetCost
(
cm
.
thcost
)
e2
:
SetTarget
(
cm
.
thtg
)
...
...
expansions/script/c17243495.lua
View file @
f522a414
...
...
@@ -60,8 +60,8 @@ function cm.thcon2(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
tc
=
Duel
.
GetFieldCard
(
tp
,
0
,
LOCATION_FZONE
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
tc
and
tc
:
IsAbleToHand
(
)
and
tc
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_FZONE
)
and
chkc
:
IsAbleToHand
(
1
-
tp
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
tc
and
tc
:
IsAbleToHand
(
1
-
tp
)
and
tc
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
end
Duel
.
SetTargetCard
(
tc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
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