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
c1eadb04
Commit
c1eadb04
authored
Aug 09, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
cf668cf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
expansions/script/c11451618.lua
expansions/script/c11451618.lua
+7
-1
expansions/script/c12400057.lua
expansions/script/c12400057.lua
+4
-4
No files found.
expansions/script/c11451618.lua
View file @
c1eadb04
...
...
@@ -121,6 +121,12 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
hg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
te
=
tc
.
hand_effect
local
op
=
te
:
GetOperation
()
if
op
then
op
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
op
then
tc
:
CreateEffectRelation
(
te
)
local
_GetHandler
=
Effect
.
GetHandler
Effect
.
GetHandler
=
function
()
return
tc
end
op
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Effect
.
GetHandler
=
_GetHandler
end
end
end
\ No newline at end of file
expansions/script/c12400057.lua
View file @
c1eadb04
...
...
@@ -42,8 +42,8 @@ function s.initial_effect(c)
e5
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e5
:
SetCountLimit
(
1
,
id
)
e5
:
SetCondition
(
s
.
drcon
)
e5
:
SetTarget
(
s
.
t
h
tg2
)
e5
:
SetOperation
(
s
.
t
h
op2
)
e5
:
SetTarget
(
s
.
t
g
tg2
)
e5
:
SetOperation
(
s
.
t
g
op2
)
c
:
RegisterEffect
(
e5
)
if
not
s
.
global_check
then
s
.
global_check
=
true
...
...
@@ -260,10 +260,10 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
tgtg
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
end
function
s
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tgop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
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