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
d57679e6
Commit
d57679e6
authored
May 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
828823da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
expansions/script/c33701430.lua
expansions/script/c33701430.lua
+1
-2
expansions/script/c33701431.lua
expansions/script/c33701431.lua
+1
-1
expansions/script/c33701434.lua
expansions/script/c33701434.lua
+4
-5
No files found.
expansions/script/c33701430.lua
View file @
d57679e6
...
...
@@ -70,7 +70,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
1
if
t1
then
m
[
ct
]
=
aux
.
Stringid
(
m
,
0
)
n
[
ct
]
=
1
ct
=
ct
+
1
end
if
t2
then
m
[
ct
]
=
aux
.
Stringid
(
m
,
1
)
n
[
ct
]
=
2
ct
=
ct
+
1
end
m
[
ct
]
=
aux
.
Stringid
(
m
,
2
)
n
[
ct
]
=
3
ct
=
ct
+
1
end
m
[
ct
]
=
aux
.
Stringid
(
m
,
2
)
n
[
ct
]
=
3
ct
=
ct
+
1
local
sp
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
m
))
op
=
n
[
sp
+
1
]
end
...
...
@@ -80,6 +80,5 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
elseif
op
==
2
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
expansions/script/c33701431.lua
View file @
d57679e6
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
recop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
recco
p
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
recco
n
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
return
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
and
rc
~=
e
:
GetHandler
()
and
(
rc
:
IsCode
(
33701424
)
or
rc
:
IsSetCard
(
9449
))
end
...
...
expansions/script/c33701434.lua
View file @
d57679e6
...
...
@@ -9,7 +9,6 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCondition
(
cm
.
discon
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
distg
)
e1
:
SetOperation
(
cm
.
disop
)
...
...
@@ -44,7 +43,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
end
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
ct
=
e
:
GetLabel
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
ct
)
...
...
@@ -53,7 +52,7 @@ function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
eg
:
GetCount
(),
0
,
0
)
end
end
function
cm
.
activate1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
not
(
tc
and
tc
:
IsRelateToEffect
(
e
))
then
return
end
local
ct
=
tc
:
GetDefense
()
...
...
@@ -66,7 +65,7 @@ function cm.activate1(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
cm
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
dstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
ct
=
e
:
GetLabel
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
ct
)
...
...
@@ -80,7 +79,7 @@ end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x9449
)
and
c
:
IsFaceup
()
end
function
cm
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
dsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
not
(
tc
and
tc
:
IsRelateToEffect
(
e
))
then
return
end
local
ct
=
tc
:
GetDefense
()
...
...
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