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
0626ebae
Commit
0626ebae
authored
Oct 30, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
77d998ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c30600502.lua
expansions/script/c30600502.lua
+9
-7
expansions/strings.conf
expansions/strings.conf
+1
-0
No files found.
expansions/222DIY.cdb
View file @
0626ebae
No preview for this file type
expansions/script/c30600502.lua
View file @
0626ebae
...
...
@@ -364,24 +364,26 @@ function fgo.spell(c,code,excode,lv,tcode)
--从自己的手卡·场上把等级合计直到lv星以上的怪兽解放,从手卡·卡组把「excode」特殊召唤。
--那之后,那只怪兽转化为tcode,把这张卡装备。
local
tc
=
c
--local lv = lv or 0
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e6
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e6
:
SetCode
(
EVENT_FREE_CHAIN
)
e6
:
SetCountLimit
(
1
,
code
)
e6
:
SetCost
(
cm
.
FgoSpellEquipcost
(
lv
))
e6
:
SetTarget
(
cm
.
FgoSpellEquiptg
(
excode
))
e6
:
SetOperation
(
cm
.
FgoSpellEquipop
(
c
,
excode
,
tcode
))
e6
:
SetCost
(
fgo
.
FgoSpellEquipcost
(
lv
))
e6
:
SetTarget
(
fgo
.
FgoSpellEquiptg
(
excode
))
e6
:
SetOperation
(
fgo
.
FgoSpellEquipop
(
c
,
excode
,
tcode
))
tc
:
RegisterEffect
(
e6
)
return
e6
end
function
cm
.
spfilter
(
c
)
return
c
:
GetLevel
()
>
0
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
end
function
cm
.
FgoSpellEquipcost
(
lv
)
function
fgo
.
FgoSpellEquipcost
(
lv
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
g
:
CheckWithSumGreater
(
Card
.
GetLevel
,
lv
,
1
,
99
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectWithSumGreater
(
tp
,
Card
.
GetLevel
,
lv
)
Duel
.
Release
(
sg
,
REASON_COST
+
REASON_RELEASE
)
...
...
@@ -390,7 +392,7 @@ end
function
cm
.
spellfilter
(
c
,
e
,
tp
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
cm
.
FgoSpellEquiptg
(
excode
)
function
fgo
.
FgoSpellEquiptg
(
excode
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spellfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
excode
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
...
...
@@ -398,7 +400,7 @@ function cm.FgoSpellEquiptg(excode)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
FgoSpellEquipop
(
c
,
excode
,
tcode
)
function
fgo
.
FgoSpellEquipop
(
c
,
excode
,
tcode
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
expansions/strings.conf
View file @
0626ebae
...
...
@@ -484,6 +484,7 @@
!
setname
0
x3cc2
狐宇宙侠
!
setname
0
xcc5
神帝
!
setname
0
xcc6
龙帝
!
setname
0
xcca
异种
!
setname
0
xccb
天界
!
setname
0
xcc7
煌世
!
setname
0
xccc
NOVA
...
...
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