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
858c46dd
Commit
858c46dd
authored
Apr 05, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
2516aec7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
8 deletions
+12
-8
expansions/script/c17032430.lua
expansions/script/c17032430.lua
+3
-1
expansions/script/c4270003.lua
expansions/script/c4270003.lua
+5
-3
expansions/script/c4270004.lua
expansions/script/c4270004.lua
+1
-1
expansions/script/c4270005.lua
expansions/script/c4270005.lua
+1
-1
expansions/script/c4270006.lua
expansions/script/c4270006.lua
+1
-1
expansions/script/c4270017.lua
expansions/script/c4270017.lua
+1
-1
No files found.
expansions/script/c17032430.lua
View file @
858c46dd
...
...
@@ -61,12 +61,14 @@ function c17032430.fsoperation()
end
end
while
sg
:
GetCount
()
<
63
do
local
button
=
true
local
cg
=
mg
:
Filter
(
c17032430
.
racefilter
,
nil
,
sg
,
c
)
if
cg
:
GetCount
()
==
0
then
break
end
local
cancel_group
=
sg
:
Clone
()
if
gc
then
cancel_group
:
RemoveCard
(
gc
)
end
if
sg
:
GetCount
()
<
3
then
button
=
false
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
tc
=
cg
:
SelectUnselect
(
cancel_group
,
tp
,
true
,
false
,
3
,
63
)
local
tc
=
cg
:
SelectUnselect
(
cancel_group
,
tp
,
button
,
false
,
3
,
63
)
if
not
tc
then
break
end
if
sg
:
IsContains
(
tc
)
then
sg
:
RemoveCard
(
tc
)
...
...
expansions/script/c4270003.lua
View file @
858c46dd
...
...
@@ -89,10 +89,12 @@ function c4270003.operation2(e,tp,eg,ep,ev,re,r,rp)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_TO_HAND
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
0
)
e3
:
SetTarget
(
function
(
c
)
return
c
:
IsLocation
(
LOCATION_DECK
)
or
c
:
IsLocation
(
LOCATION_GRAVE
)
and
not
c
:
IsRace
(
RACE_BEASTWARRIOR
)
end
)
e3
:
SetTargetRange
(
1
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
function
(
c
)
return
(
c
:
IsLocation
(
LOCATION_DECK
)
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
not
c
:
IsRace
(
RACE_BEASTWARRIOR
)
end
,
LOCATION_DECK
))
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
...
...
expansions/script/c4270004.lua
View file @
858c46dd
...
...
@@ -2,7 +2,7 @@
function
c4270004
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
4270001
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
4270001
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xa28
),
1
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
4270001
,
aux
.
FilterBoolFunction
(
function
(
c
)
return
c
:
IsFusionSetCard
(
0xa28
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
),
1
,
true
,
true
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c4270005.lua
View file @
858c46dd
...
...
@@ -2,7 +2,7 @@
function
c4270005
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
4270002
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
4270002
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xa28
),
1
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
4270002
,
aux
.
FilterBoolFunction
(
function
(
c
)
return
c
:
IsFusionSetCard
(
0xa28
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
),
1
,
true
,
true
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_REMOVE
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c4270006.lua
View file @
858c46dd
...
...
@@ -2,7 +2,7 @@
function
c4270006
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
4270003
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
4270003
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xa28
),
1
,
true
,
true
)
aux
.
AddFusionProcCodeFun
(
c
,
4270003
,
aux
.
FilterBoolFunction
(
function
(
c
)
return
c
:
IsFusionSetCard
(
0xa28
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
),
1
,
true
,
true
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_REMOVE
+
CATEGORY_LEAVE_GRAVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c4270017.lua
View file @
858c46dd
...
...
@@ -2,7 +2,7 @@
function
c4270017
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xa28
),
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_BEASTWARRIOR
),
true
)
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
function
(
c
)
return
c
:
IsFusionSetCard
(
0xa28
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
),
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_BEASTWARRIOR
),
true
)
--fusion summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
4270017
,
0
))
...
...
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