Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
58207742
Commit
58207742
authored
May 16, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: クリボー support cards
parent
ef3a0701
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
17 deletions
+19
-17
c20065322.lua
c20065322.lua
+1
-0
c30194529.lua
c30194529.lua
+10
-10
c40703222.lua
c40703222.lua
+7
-7
c89086566.lua
c89086566.lua
+1
-0
No files found.
c20065322.lua
View file @
58207742
--クリボーを呼ぶ笛
function
c20065322
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
40640057
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_SPECIAL_SUMMON
)
...
...
c30194529.lua
View file @
58207742
...
...
@@ -26,16 +26,16 @@ function c30194529.initial_effect(c)
e2
:
SetOperation
(
c30194529
.
tgop
)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e
5
=
Effect
.
CreateEffect
(
c
)
e
5
:
SetDescription
(
aux
.
Stringid
(
30194529
,
2
))
e
5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
5
:
SetCode
(
EVENT_TO_GRAVE
)
e
5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
5
:
SetCondition
(
c30194529
.
spcon2
)
e
5
:
SetTarget
(
c30194529
.
sptg2
)
e
5
:
SetOperation
(
c30194529
.
spop2
)
c
:
RegisterEffect
(
e
5
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetDescription
(
aux
.
Stringid
(
30194529
,
2
))
e
3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
3
:
SetCode
(
EVENT_TO_GRAVE
)
e
3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e
3
:
SetCondition
(
c30194529
.
spcon2
)
e
3
:
SetTarget
(
c30194529
.
sptg2
)
e
3
:
SetOperation
(
c30194529
.
spop2
)
c
:
RegisterEffect
(
e
3
)
end
function
c30194529
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
...
...
c40703222.lua
View file @
58207742
--増殖
function
c40703222
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
40640057
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -10,17 +11,16 @@ function c40703222.initial_effect(c)
e1
:
SetOperation
(
c40703222
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c40703222
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
40640057
)
function
c40703222
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
40640057
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
c40703222
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c40703222
.
cfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c40703222
.
cfilter
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c40703222
.
cfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c40703222
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c40703222
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
40703223
,
0
,
TYPES_TOKEN_MONSTER
,
300
,
200
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
40703223
,
0
,
0x4011
,
300
,
200
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
ft
,
0
,
0
)
...
...
@@ -28,7 +28,7 @@ function c40703222.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c40703222
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
40703223
,
0
,
TYPES_TOKEN_MONSTER
,
300
,
200
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
then
return
end
if
ft
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
40703223
,
0
,
0x4011
,
300
,
200
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
for
i
=
1
,
ft
do
local
token
=
Duel
.
CreateToken
(
tp
,
40703223
)
...
...
c89086566.lua
View file @
58207742
--機雷化
function
c89086566
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
40640057
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
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