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
0483d578
Commit
0483d578
authored
Apr 01, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null
parent
e35283ad
Pipeline
#26201
passed with stages
in 22 minutes and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c30600502.lua
expansions/script/c30600502.lua
+4
-4
expansions/script/c30611020.lua
expansions/script/c30611020.lua
+2
-2
No files found.
expansions/script/c30600502.lua
View file @
0483d578
...
@@ -289,14 +289,14 @@ function fgo.spsum(c,race,tcode,tcode2,opf1,opf2)
...
@@ -289,14 +289,14 @@ function fgo.spsum(c,race,tcode,tcode2,opf1,opf2)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetType(EFFECT_TYPE_IGNITION)
if opf1~=0 then
if opf1~=0 then
e2:SetCost(function (e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetCost(function (e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
function
(
c
,
race
)
return
c
:
IsRace
(
race
)
and
opf1
(
c
,
opf2
)
end
,
1
,
tc
,
race
)
end
if chk==0 then return Duel.CheckReleaseGroupEx(
tp,function (c,race) return c:IsRace(race) and opf1(c,opf2) end,1,REASON_COST,true
,tc,race) end
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
function
(
c
,
race
)
return
c
:
IsRace
(
race
)
and
opf1
(
c
,
opf2
)
end
,
1
,
1
,
tc
,
race
)
local g=Duel.SelectReleaseGroupEx(
tp,function (c,race) return c:IsRace(race) and opf1(c,opf2) end,1,1,REASON_COST,true
,tc,race)
Duel.Release(g,REASON_COST)
Duel.Release(g,REASON_COST)
end)
end)
else
else
e2:SetCost(function (e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetCost(function (e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
function
(
c
,
race
)
return
c
:
IsRace
(
race
)
end
,
1
,
tc
,
race
)
end
if chk==0 then return Duel.CheckReleaseGroupEx(
tp,function (c,race) return c:IsRace(race) end,1,REASON_COST,true
,tc,race) end
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
function
(
c
,
race
)
return
c
:
IsRace
(
race
)
end
,
1
,
1
,
tc
,
race
)
local g=Duel.SelectReleaseGroupEx(
tp,function (c,race)return c:IsRace(race) end,1,1,REASON_COST,true
,tc,race)
Duel.Release(g,REASON_COST)
Duel.Release(g,REASON_COST)
end)
end)
end
end
...
...
expansions/script/c30611020.lua
View file @
0483d578
...
@@ -22,8 +22,8 @@ function cm.sumfilter(c)
...
@@ -22,8 +22,8 @@ function cm.sumfilter(c)
return
c
:
IsCode
(
m
)
return
c
:
IsCode
(
m
)
end
end
function
cm
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
sumfilter
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
cm
.
sumfilter
,
2
,
REASON_COST
,
true
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
sumfilter
,
2
,
2
,
nil
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
cm
.
sumfilter
,
2
,
2
,
REASON_COST
,
true
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
...
...
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