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
Soulgamer
ygopro-222DIY-cards
Commits
3474f684
Commit
3474f684
authored
Apr 03, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
83b07420
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
26 additions
and
22 deletions
+26
-22
expansions/script/c10908888.lua
expansions/script/c10908888.lua
+1
-1
expansions/script/c16199529.lua
expansions/script/c16199529.lua
+1
-1
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+1
-1
expansions/script/c16232011.lua
expansions/script/c16232011.lua
+1
-1
expansions/script/c17033130.lua
expansions/script/c17033130.lua
+1
-1
expansions/script/c17033140.lua
expansions/script/c17033140.lua
+1
-1
expansions/script/c17035230.lua
expansions/script/c17035230.lua
+1
-0
expansions/script/c18009023.lua
expansions/script/c18009023.lua
+1
-0
expansions/script/c18090001.lua
expansions/script/c18090001.lua
+0
-1
expansions/script/c21520187.lua
expansions/script/c21520187.lua
+5
-5
expansions/script/c22000110.lua
expansions/script/c22000110.lua
+5
-5
expansions/script/c23100085.lua
expansions/script/c23100085.lua
+1
-1
expansions/script/c23180000.lua
expansions/script/c23180000.lua
+1
-1
expansions/script/c30000231.lua
expansions/script/c30000231.lua
+1
-1
expansions/script/c33910537.lua
expansions/script/c33910537.lua
+3
-0
expansions/script/c81903000.lua
expansions/script/c81903000.lua
+1
-1
expansions/script/c9390026.lua
expansions/script/c9390026.lua
+1
-1
No files found.
expansions/script/c10908888.lua
View file @
3474f684
--嘿的外包
if
not
pcall
(
function
()
require
(
"expansions/script/c10199990"
)
end
)
then
require
(
"script/c10199990"
)
end
\ No newline at end of file
Duel
.
LoadScript
(
"c10199990.lua"
)
\ No newline at end of file
expansions/script/c16199529.lua
View file @
3474f684
--华丽的降神
local
m
=
1619952
0
local
m
=
1619952
9
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--Activate
...
...
expansions/script/c16199990.lua
View file @
3474f684
if
not
pcall
(
function
()
require
(
"expansions/script/c16101100"
)
end
)
then
require
(
"script/c16101100"
)
end
Duel
.
LoadScript
(
"c16101100.lua"
)
rk
=
rk
or
{}
local
loc_table_for_reikai
=
{
[
'dk'
]
=
LOCATION_DECK
,
...
...
expansions/script/c16232011.lua
View file @
3474f684
...
...
@@ -39,7 +39,7 @@ function cm.fselect(g,tp)
end
return
g
:
GetClassCount
(
Card
.
GetLocation
)
==
g
:
GetCount
()
and
res
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
tg
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
and
g
:
CheckSubGroup
(
cm
.
fselect
,
2
,
2
,
tp
)
end
...
...
expansions/script/c17033130.lua
View file @
3474f684
--公主强袭
xpcall
(
function
()
require
(
"expansions/script/c17035021"
)
end
,
function
()
require
(
"script/c17035021"
)
end
)
Duel
.
LoadScript
(
"c17035021.lua"
)
function
c17033130
.
initial_effect
(
c
)
pcr
.
Princess_Strike
(
c
)
end
expansions/script/c17033140.lua
View file @
3474f684
--公主斩击
xpcall
(
function
()
require
(
"expansions/script/c17035021"
)
end
,
function
()
require
(
"script/c17035021"
)
end
)
Duel
.
LoadScript
(
"c17035021.lua"
)
function
c17033140
.
initial_effect
(
c
)
pcr
.
Princess_Slash
(
c
)
end
expansions/script/c17035230.lua
View file @
3474f684
--P.C. 凯露/公主形态
Duel
.
LoadScript
(
"c17035021.lua"
)
function
c17035230
.
initial_effect
(
c
)
pcr
.
Princess_Mode
(
c
)
pcr
.
negate
(
c
)
...
...
expansions/script/c18009023.lua
View file @
3474f684
...
...
@@ -36,6 +36,7 @@ function cm.atkop1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g2
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
end
end
end
end
function
cm
.
thfilter
(
c
)
...
...
expansions/script/c18090001.lua
View file @
3474f684
...
...
@@ -11,7 +11,6 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
id
+
o
)
e1
:
SetTarget
(
cm
.
flagtg
)
e1
:
SetOperation
(
cm
.
flagop
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c21520187.lua
View file @
3474f684
...
...
@@ -75,7 +75,7 @@ function s.thfilter(c,loc)
if
loc
~=
nil
then
return
c
:
IsSetCard
(
0x490
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
else
return
(
c
:
IsSetCard
(
0x490
)
or
or
aux
.
IsSetNameMonsterListed
(
c
,
0xc008
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x490
)
or
aux
.
IsSetNameMonsterListed
(
c
,
0xc008
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
rfilter
(
sg
,
tc
)
...
...
@@ -104,11 +104,11 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
thg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
thg
)
local
dg
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
LOCATION_DECK
)
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
if
dg
:
GetCount
()
>=
2
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
local
rg
=
dg
:
Select
(
tp
,
1
,
2
,
nil
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
@@ -127,11 +127,11 @@ function s.searchop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
thg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
thg
)
local
dg
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
LOCATION_DECK
)
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
if
dg
:
GetCount
()
>=
2
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
local
rg
=
dg
:
Select
(
tp
,
1
,
2
,
nil
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
expansions/script/c22000110.lua
View file @
3474f684
--圣律·露泽莫尔
Duel
.
LoadScript
(
"c22000000.lua"
)
function
s
.
initial_effect
(
c
)
function
22000110
.
initial_effect
(
c
)
wco
.
slp
(
c
,
22000110
)
wco
.
snp3
(
c
,
22000110
)
--recover
...
...
@@ -10,10 +10,10 @@ function s.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
22000111
)
e1
:
SetOperation
(
s
.
lvop
)
e1
:
SetOperation
(
22000110
.
lvop
)
c
:
RegisterEffect
(
e1
)
end
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
22000110
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
lv
=
c
:
GetLevel
()
local
alv
=
11
...
...
@@ -44,10 +44,10 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_DISABLE
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetTarget
(
s
.
distg
)
e3
:
SetTarget
(
22000110
.
distg
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
function
s
.
distg
(
e
,
c
)
function
22000110
.
distg
(
e
,
c
)
return
c
:
IsAttack
(
0
)
end
\ No newline at end of file
expansions/script/c23100085.lua
View file @
3474f684
...
...
@@ -24,7 +24,7 @@ function c23100085.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
23100085
,
1
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCost
(
c23100085
.
xxcost
)
e2
:
SetTarget
(
c23100085
.
xxtg
)
...
...
expansions/script/c23180000.lua
View file @
3474f684
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
srfilter
(
c
)
return
(
c
:
IsCode
(
81010001
)
or
aux
.
IsCodeListed
(
c
,
81010001
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
c
)
return
(
c
:
IsCode
(
81010001
)
or
aux
.
IsCodeListed
(
c
,
81010001
)
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
c
)
end
function
cm
.
srtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c30000231.lua
View file @
3474f684
--灭绝机 霍拉格
if
not
pcall
(
function
()
require
(
"expansions/script/c10199990"
)
end
)
then
require
(
"script/c10199990"
)
end
Duel
.
LoadScript
(
"c10199990.lua"
)
local
m
,
cm
=
rscf
.
DefineCard
(
30000231
)
function
cm
.
initial_effect
(
c
)
rscf
.
SetSummonCondition
(
c
,
false
,
aux
.
FALSE
)
...
...
expansions/script/c33910537.lua
View file @
3474f684
...
...
@@ -24,6 +24,9 @@ function c33910537.initial_effect(c)
e2
:
SetOperation
(
c33910537
.
rmop
)
c
:
RegisterEffect
(
e2
)
end
function
c33910537
.
indcon
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c33910537
.
ffilter
(
c
)
...
...
expansions/script/c81903000.lua
View file @
3474f684
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
,
EFFECT_FLAG2_WICKED
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
spcon
)
e1
:
SetValue
(
cm
.
adval
)
...
...
expansions/script/c9390026.lua
View file @
3474f684
...
...
@@ -51,7 +51,7 @@ function cm.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x9f93
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
costfilter
(
c
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
)
end
...
...
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