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
Ai
ygopro-222DIY-cards
Commits
f10d1514
Commit
f10d1514
authored
Mar 14, 2022
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
451186d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
expansions/script/c12026030.lua
expansions/script/c12026030.lua
+4
-1
expansions/script/c12030012.lua
expansions/script/c12030012.lua
+9
-7
expansions/script/c33503105.lua
expansions/script/c33503105.lua
+8
-2
No files found.
expansions/script/c12026030.lua
View file @
f10d1514
...
@@ -63,10 +63,13 @@ function c12026030.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,10 +63,13 @@ function c12026030.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c12026030
.
atkfilter
(
c
,
e
)
function
c12026030
.
atkfilter
(
c
,
e
)
return
not
c
:
IsAbleToHandAsCost
()
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
end
function
c12026030
.
atkfilter2
(
c
,
e
)
return
c
:
IsAbleToHandAsCost
()
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
return
c
:
IsAbleToHandAsCost
()
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
end
end
function
c12026030
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12026030
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12026030
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12026030
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
and
Duel
.
IsExistingMatchingCard
(
c12026030
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c12026030
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
c12026030
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
upa
=
0
local
upa
=
0
...
...
expansions/script/c12030012.lua
View file @
f10d1514
...
@@ -4,6 +4,7 @@ local cm=_G["c"..m]
...
@@ -4,6 +4,7 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"c10199990.lua"
)
Duel
.
LoadScript
(
"c10199990.lua"
)
cm
.
rssetcode
=
"yatori"
cm
.
rssetcode
=
"yatori"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
cm
.
mfilter
,
aux
.
NonTuner
(
nil
),
1
)
aux
.
AddSynchroProcedure
(
c
,
cm
.
mfilter
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -20,6 +21,7 @@ function cm.initial_effect(c)
...
@@ -20,6 +21,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
cm
.
drtg
)
e1
:
SetTarget
(
cm
.
drtg
)
e1
:
SetOperation
(
cm
.
drop
)
e1
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -44,8 +46,8 @@ function cm.initial_effect(c)
...
@@ -44,8 +46,8 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c
m
.
halo_yatori
=
1
c
12030002
.
halo_yatori
=
1
function
c
m
.
named_with_yatori
(
c
)
function
c
12030002
.
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
...
@@ -69,18 +71,18 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,18 +71,18 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local
tt
=
1
local
tt
=
1
Duel
.
PayLPCost
(
tp
,
2000
)
Duel
.
PayLPCost
(
tp
,
2000
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
if
c
.
d
sop
then
if
c
.
d
rop1
then
c
.
d
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
c
.
d
rop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
end
end
end
end
function
cm
.
d
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
function
cm
.
d
rop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
local
tt
=
tt
*
2
local
tt
=
tt
*
2
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
CheckLPCost
(
tp
,
2000
*
tt
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
Duel
.
CheckLPCost
(
tp
,
2000
*
tt
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
PayLPCost
(
tp
,
2000
*
tt
)
Duel
.
PayLPCost
(
tp
,
2000
*
tt
)
if
c
.
d
sop
then
if
c
.
d
rop1
then
c
.
d
sop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
c
.
d
rop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tt
)
end
end
end
end
end
end
...
...
expansions/script/c33503105.lua
View file @
f10d1514
...
@@ -13,11 +13,17 @@ function cm.initial_effect(c)
...
@@ -13,11 +13,17 @@ function cm.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e2
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e2
:
SetTargetRange
(
0xff
,
0
)
e2
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetOwner
()
==
e
:
GetHandlerPlayer
()
end
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
local
e3
=
e2
:
Clone
()
e3
:
SetTargetRange
(
0
,
0xff
)
e3
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
end
)
e3
:
SetTargetRange
(
0xff
,
0xff
)
e3
:
SetValue
(
LOCATION_DECKBOT
)
e3
:
SetValue
(
LOCATION_DECKBOT
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
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