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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
5cbe1a63
Commit
5cbe1a63
authored
May 16, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
5513c309
Pipeline
#12739
passed with stages
in 27 minutes and 49 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
15 deletions
+19
-15
expansions/script/c16114242.lua
expansions/script/c16114242.lua
+2
-1
expansions/script/c16114243.lua
expansions/script/c16114243.lua
+2
-1
expansions/script/c16114244.lua
expansions/script/c16114244.lua
+2
-1
expansions/script/c33700170.lua
expansions/script/c33700170.lua
+7
-8
expansions/script/c33701370.lua
expansions/script/c33701370.lua
+1
-1
expansions/script/c71400008.lua
expansions/script/c71400008.lua
+4
-1
expansions/script/c71400025.lua
expansions/script/c71400025.lua
+0
-2
expansions/script/c71400064.lua
expansions/script/c71400064.lua
+1
-0
No files found.
expansions/script/c16114242.lua
View file @
5cbe1a63
--春仙精 霍普尔
--春仙精 霍普尔
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114211
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114242
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114242
,
"FAIRY"
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
16114211
)
--Recover
--Recover
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c16114243.lua
View file @
5cbe1a63
--恶魔仙精 贝拉冬娜
--恶魔仙精 贝拉冬娜
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114208
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114243
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114243
,
"FAIRY"
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
16114208
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16114244.lua
View file @
5cbe1a63
--不死仙精 贝拉多阿涅
--不死仙精 贝拉多阿涅
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114209
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114244
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114244
,
"FAIRY"
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
16114209
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--search
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33700170.lua
View file @
5cbe1a63
...
@@ -45,8 +45,7 @@ function c33700170.initial_effect(c)
...
@@ -45,8 +45,7 @@ function c33700170.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c33700170
.
costfilter
(
c
)
function
c33700170
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
()
and
c
:
IsSetCard
(
0x6440
)
and
c
:
GetAttack
()
>
0
and
c
:
IsSetCard
(
0x6440
)
and
c
:
GetAttack
()
>
0
end
end
function
c33700170
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33700170
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33700170
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33700170
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
...
@@ -76,16 +75,16 @@ function c33700170.splimit(e,c,sump,sumtype,sumpos,targetp)
...
@@ -76,16 +75,16 @@ function c33700170.splimit(e,c,sump,sumtype,sumpos,targetp)
end
end
function
c33700170
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33700170
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
return
(
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
6
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
7
))
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
5
end
return
(
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
6
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
7
))
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
5
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
end
end
function
c33700170
.
filter
(
c
)
function
c33700170
.
filter
(
c
)
return
c
:
IsSetCard
(
0x3440
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3440
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
and
c
:
IsAbleToHand
()
end
end
function
c33700170
.
damfilter
(
c
)
function
c33700170
.
damfilter
(
c
)
return
not
c
:
IsSetCard
(
0x3440
)
return
not
c
:
IsSetCard
(
0x3440
)
end
end
function
c33700170
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33700170
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
Duel
.
ConfirmDecktop
(
p
,
5
)
Duel
.
ConfirmDecktop
(
p
,
5
)
...
@@ -94,14 +93,14 @@ function c33700170.op(e,tp,eg,ep,ev,re,r,rp).op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,14 +93,14 @@ function c33700170.op(e,tp,eg,ep,ev,re,r,rp).op(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
g
:
IsExists
(
c33700170
.
filter
)
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
6
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
7
))
then
if
g
:
GetCount
()
>
0
and
g
:
IsExists
(
c33700170
.
filter
)
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
6
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_SZONE
,
7
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TARGET
)
local
sg
=
g
:
FilterSelect
(
p
,
c33700170
.
filter
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
p
,
c33700170
.
filter
,
1
,
1
,
nil
)
Duel
.
MoveToField
(
sg
:
GetFirst
(),
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
sg
:
GetFirst
(),
tp
,
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
Duel
.
SortDecktop
(
tp
,
tp
,
4
)
Duel
.
SortDecktop
(
tp
,
tp
,
4
)
if
tg
>
0
then
if
tg
>
0
then
Duel
.
Damage
(
tp
,
tg
*
400
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
tg
*
400
,
REASON_EFFECT
)
end
end
end
end
end
end
function
c33700170
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33700170
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
...
...
expansions/script/c33701370.lua
View file @
5cbe1a63
...
@@ -27,7 +27,7 @@ end
...
@@ -27,7 +27,7 @@ end
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
100
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
100
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
100
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
100
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
Duel
.
RDComplete
()
...
...
expansions/script/c71400008.lua
View file @
5cbe1a63
...
@@ -45,7 +45,10 @@ function c71400008.op1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,10 @@ function c71400008.op1(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
1200
)
end
end
end
end
end
function
c71400008
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71400008
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c71400025.lua
View file @
5cbe1a63
...
@@ -3,10 +3,8 @@ xpcall(function() require("expansions/script/c71400001") end,function() require(
...
@@ -3,10 +3,8 @@ xpcall(function() require("expansions/script/c71400001") end,function() require(
function
c71400025
.
initial_effect
(
c
)
function
c71400025
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
71400025
,
0
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
yume
.
nonYumeCon
)
e1
:
SetTarget
(
c71400025
.
tg1
)
e1
:
SetTarget
(
c71400025
.
tg1
)
e1
:
SetCost
(
c71400025
.
cost1
)
e1
:
SetCost
(
c71400025
.
cost1
)
e1
:
SetOperation
(
c71400025
.
op1
)
e1
:
SetOperation
(
c71400025
.
op1
)
...
...
expansions/script/c71400064.lua
View file @
5cbe1a63
...
@@ -35,6 +35,7 @@ function c71400064.initial_effect(c)
...
@@ -35,6 +35,7 @@ function c71400064.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
71400064
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
71400064
,
2
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
71500064
)
e3
:
SetCountLimit
(
1
,
71500064
)
e3
:
SetCost
(
c71400064
.
cost3
)
e3
:
SetCost
(
c71400064
.
cost3
)
...
...
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