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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
577580b0
Commit
577580b0
authored
Apr 24, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
31
parent
7fe76a9e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
90 additions
and
11 deletions
+90
-11
expansions/script/c17033130.lua
expansions/script/c17033130.lua
+1
-1
expansions/script/c17033140.lua
expansions/script/c17033140.lua
+1
-1
expansions/script/c17035020.lua
expansions/script/c17035020.lua
+1
-1
expansions/script/c17035210.lua
expansions/script/c17035210.lua
+1
-1
expansions/script/c17035220.lua
expansions/script/c17035220.lua
+2
-2
expansions/script/c17035230.lua
expansions/script/c17035230.lua
+1
-1
expansions/script/c17035310.lua
expansions/script/c17035310.lua
+83
-4
No files found.
expansions/script/c17033130.lua
View file @
577580b0
--公主强袭
Duel
.
LoadScript
(
"c17035021.lua"
)
xpcall
(
function
()
dofile
(
"expansions/script/c17035021.lua"
)
end
,
function
()
dofile
(
"script/c17035021.lua"
)
end
)
function
c17033130
.
initial_effect
(
c
)
pcr
.
Princess_Strike
(
c
)
end
expansions/script/c17033140.lua
View file @
577580b0
--公主斩击
Duel
.
LoadScript
(
"c17035021.lua"
)
xpcall
(
function
()
dofile
(
"expansions/script/c17035021.lua"
)
end
,
function
()
dofile
(
"script/c17035021.lua"
)
end
)
function
c17033140
.
initial_effect
(
c
)
pcr
.
Princess_Slash
(
c
)
end
expansions/script/c17035020.lua
View file @
577580b0
--P.C. 可可罗
Duel
.
LoadScript
(
"c17035021.lua"
)
xpcall
(
function
()
dofile
(
"expansions/script/c17035021.lua"
)
end
,
function
()
dofile
(
"script/c17035021.lua"
)
end
)
function
c17035020
.
initial_effect
(
c
)
pcr
.
Union_Burst
(
c
,
nil
,
pcr
.
kkrubtg
,
pcr
.
kkrubop
,
1123
,
Kokkoro
)
pcr
.
Gourmet_Edifice
(
c
,
17035020
)
...
...
expansions/script/c17035210.lua
View file @
577580b0
--P.C. 佩可莉姆/公主形态
Duel
.
LoadScript
(
"c17035021.lua"
)
xpcall
(
function
()
dofile
(
"expansions/script/c17035021.lua"
)
end
,
function
()
dofile
(
"script/c17035021.lua"
)
end
)
function
c17035210
.
initial_effect
(
c
)
pcr
.
Princess_Mode
(
c
)
pcr
.
atklimit
(
c
)
...
...
expansions/script/c17035220.lua
View file @
577580b0
--P.C.
ɿ/̬
Duel
.
LoadScript
(
"c17035021.lua"
)
--P.C.
�ɿ���/������̬
xpcall
(
function
()
dofile
(
"expansions/script/c17035021.lua"
)
end
,
function
()
dofile
(
"script/c17035021.lua"
)
end
)
function
c17035220
.
initial_effect
(
c
)
pcr
.
Princess_Mode
(
c
)
pcr
.
atkupbuff
(
c
)
...
...
expansions/script/c17035230.lua
View file @
577580b0
--P.C. 凯露/公主形态
Duel
.
LoadScript
(
"c17035021.lua"
)
xpcall
(
function
()
dofile
(
"expansions/script/c17035021.lua"
)
end
,
function
()
dofile
(
"script/c17035021.lua"
)
end
)
function
c17035230
.
initial_effect
(
c
)
pcr
.
Princess_Mode
(
c
)
pcr
.
negate
(
c
)
...
...
expansions/script/c17035310.lua
View file @
577580b0
--公主模式
Duel
.
LoadScript
(
"c17035021.lua"
)
function
c17035310
.
initial_effect
(
c
)
pcr
.
Princess_Mode_Magic
(
c
)
end
\ No newline at end of file
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
2
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCost
(
s
.
pmspcost
)
e1
:
SetTarget
(
s
.
pmsptg
)
e1
:
SetOperation
(
s
.
pmspop
)
c
:
RegisterEffect
(
e1
)
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
1108
)
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
17035310
)
e2
:
SetCost
(
s
.
pmdrcost
)
e2
:
SetTarget
(
s
.
pmdrtg
)
e2
:
SetOperation
(
s
.
pmdrop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
rsfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x7f5
)
and
c
:
IsReleasable
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
end
function
s
.
spfilter
(
c
,
e
,
tp
,
code
)
return
c
:
IsSetCard
(
0x97f5
)
and
c
.
princess_name
==
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
,
POS_FACEUP
)
end
function
s
.
pmspcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
return
true
end
function
s
.
pmsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
rsfilter
,
nil
,
e
,
tp
)
Debug
.
Message
(
#
rg
)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
1
then
return
false
end
e
:
SetLabel
(
0
)
return
#
rg
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rc
=
rg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
e
:
SetLabel
(
rc
:
GetCode
())
Duel
.
Release
(
rc
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
pmspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
()):
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x97f5
)
and
c
:
IsAbleToDeck
()
and
not
c
:
IsPublic
()
end
function
s
.
pmdrcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
e
:
SetLabelObject
(
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
end
function
s
.
pmdrtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToDeck
()
and
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
2
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
end
function
s
.
pmdrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rc
=
e
:
GetLabelObject
()
local
mg
=
Group
.
FromCards
(
rc
,
c
)
if
Duel
.
SendtoDeck
(
mg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
end
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