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
214d074f
You need to sign in or sign up before continuing.
Commit
214d074f
authored
Aug 22, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
8d0a6d45
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/script/c12030012.lua
expansions/script/c12030012.lua
+2
-2
expansions/script/c33701414.lua
expansions/script/c33701414.lua
+1
-1
expansions/script/c33701424.lua
expansions/script/c33701424.lua
+1
-0
expansions/script/c33711505.lua
expansions/script/c33711505.lua
+1
-1
expansions/script/c71402000.lua
expansions/script/c71402000.lua
+1
-1
No files found.
expansions/script/c12030012.lua
View file @
214d074f
...
@@ -41,8 +41,8 @@ function cm.initial_effect(c)
...
@@ -41,8 +41,8 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c
12030002
.
halo_yatori
=
1
c
m
.
halo_yatori
=
1
function
c
12030002
.
named_with_yatori
(
c
)
function
c
m
.
named_with_yatori
(
c
)
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
return
m
and
m
.
halo_yatori
return
m
and
m
.
halo_yatori
end
end
...
...
expansions/script/c33701414.lua
View file @
214d074f
...
@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
if
not
ex
then
return
end
if
not
ex
then
return
end
if
cp
~=
PLAYER_ALL
then
if
cp
~=
PLAYER_ALL
then
if
Duel
.
IsPlayerAffectedByEffect
(
cp
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
if
Duel
.
IsPlayerAffectedByEffect
(
cp
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
end
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
Duel
.
ChangeTargetCard
(
ev
,
g
)
Duel
.
ChangeTargetCard
(
ev
,
g
)
...
...
expansions/script/c33701424.lua
View file @
214d074f
...
@@ -66,6 +66,7 @@ function cm.damop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,6 +66,7 @@ function cm.damop1(e,tp,eg,ep,ev,re,r,rp)
if
seq
==
6
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_MZONE
,
3
))
end
if
seq
==
6
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_MZONE
,
3
))
end
else
toGrave
=
true
else
toGrave
=
true
end
end
end
elseif
tc
:
IsLocation
(
LOCATION_SZONE
)
then
elseif
tc
:
IsLocation
(
LOCATION_SZONE
)
then
if
seq
<=
4
then
if
seq
<=
4
then
if
seq
>
0
and
Duel
.
CheckLocation
(
p
,
LOCATION_SZONE
,
seq
-
1
)
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_SZONE
,
seq
-
1
))
end
if
seq
>
0
and
Duel
.
CheckLocation
(
p
,
LOCATION_SZONE
,
seq
-
1
)
then
flag
=
flag
|
(
aux
.
SequenceToGlobal
(
p
,
LOCATION_SZONE
,
seq
-
1
))
end
...
...
expansions/script/c33711505.lua
View file @
214d074f
...
@@ -71,7 +71,7 @@ function s.acop(e, tp, eg, ep, ev, re, r, rp)
...
@@ -71,7 +71,7 @@ function s.acop(e, tp, eg, ep, ev, re, r, rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetValue
(
ac
:
GetTextDefense
)
e1
:
SetValue
(
ac
:
GetTextDefense
()
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
expansions/script/c71402000.lua
View file @
214d074f
...
@@ -128,7 +128,7 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -128,7 +128,7 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
end
end
elseif
dc
==
4
then
elseif
dc
==
4
then
local
thg
=
Duel
.
GetMatchingGroup
(
c71402000
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
thg
=
Duel
.
GetMatchingGroup
(
c71402000
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
thg
:
GetCount
()
>
0
if
thg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sc
=
thg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
sc
=
thg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
...
...
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