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
fc2a8213
Commit
fc2a8213
authored
Mar 15, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
c31fb88d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
18 deletions
+26
-18
expansions/script/c17032290.lua
expansions/script/c17032290.lua
+1
-1
expansions/script/c33503105.lua
expansions/script/c33503105.lua
+16
-8
expansions/script/c33503111.lua
expansions/script/c33503111.lua
+1
-1
expansions/script/c35800179.lua
expansions/script/c35800179.lua
+8
-8
No files found.
expansions/script/c17032290.lua
View file @
fc2a8213
...
...
@@ -30,7 +30,7 @@ end
function
c17032290
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
if
ft
<=
0
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
ft
<=
0
then
return
end
local
sg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
sg
:
GetCount
()
>
1
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
sg
:
GetCount
()
>
ft
then
...
...
expansions/script/c33503105.lua
View file @
fc2a8213
...
...
@@ -26,14 +26,22 @@ function cm.initial_effect(c)
e3
:
SetTargetRange
(
0xff
,
0xff
)
e3
:
SetValue
(
LOCATION_DECKBOT
)
c
:
RegisterEffect
(
e3
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetCost
(
cm
.
co3
)
e3
:
SetTarget
(
cm
.
tg3
)
e3
:
SetOperation
(
cm
.
op3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_TO_GRAVE
)
e4
:
SetTargetRange
(
0
,
LOCATION_DECK
+
LOCATION_EXTRA
)
e4
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
and
(
c
:
IsLocation
(
LOCATION_DECK
)
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
(
c
:
GetOriginalType
()
&
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
~=
0
))
end
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e5
:
SetCode
(
EVENT_LEAVE_FIELD
)
e5
:
SetCost
(
cm
.
co3
)
e5
:
SetTarget
(
cm
.
tg3
)
e5
:
SetOperation
(
cm
.
op3
)
c
:
RegisterEffect
(
e5
)
end
--e1
function
cm
.
tgf1
(
c
,
tp
)
...
...
expansions/script/c33503111.lua
View file @
fc2a8213
...
...
@@ -38,7 +38,7 @@ function cm.tgf21(c,code)
return
c
:
IsAbleToHand
()
and
c
:
IsCode
(
code
)
end
function
cm
.
tgf2
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgf21
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetCode
())
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgf21
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetCode
())
and
c
:
IsControler
(
tp
)
end
function
cm
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
eg
:
Filter
(
cm
.
tgf2
,
nil
,
tp
)
...
...
expansions/script/c35800179.lua
View file @
fc2a8213
...
...
@@ -17,15 +17,15 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e2
)
--disable summon
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
2
:
SetTargetRange
(
1
,
0
)
e
2
:
SetCondition
(
cm
.
rmcon1
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
3
:
SetTargetRange
(
1
,
0
)
e
3
:
SetCondition
(
cm
.
rmcon1
)
c
:
RegisterEffect
(
e2
)
local
e4
=
e
2
:
Clone
()
local
e4
=
e
3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
c
:
RegisterEffect
(
e4
)
if
not
cm
.
global_check
then
...
...
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