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
e0600d14
Commit
e0600d14
authored
Oct 17, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c50224305.lua
parent
4ba4db7b
Pipeline
#30537
passed with stages
in 31 minutes and 34 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
expansions/script/c50224305.lua
expansions/script/c50224305.lua
+9
-7
No files found.
expansions/script/c50224305.lua
View file @
e0600d14
...
@@ -25,7 +25,7 @@ function c50224305.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c50224305.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
50224305
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
50224305
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_BOTH_SIDE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCondition
(
c50224305
.
pendcon
)
e2
:
SetCondition
(
c50224305
.
pendcon
)
e2
:
SetOperation
(
c50224305
.
pendop
)
e2
:
SetOperation
(
c50224305
.
pendop
)
...
@@ -89,9 +89,9 @@ function c50224305.pendcon(e,c,og)
...
@@ -89,9 +89,9 @@ function c50224305.pendcon(e,c,og)
local
lscale
=
0
local
lscale
=
0
local
rscale
=
11
local
rscale
=
11
local
ft
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_FUSION
)
local
ft
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_FUSION
)
local
ft1
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_LINK
)
--空的额外怪兽区域或者连接区
local
ft1
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_LINK
)
local
ft2
=
ft
-
ft1
--所有空区域-空的额外怪兽区域或者连接区
local
ft2
=
ft
-
ft1
local
ft3
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
--空的主要怪兽区域
local
ft3
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
false
end
if
ft
<=
0
then
return
false
end
local
loc
=
0
local
loc
=
0
if
ft1
>
0
then
loc
=
loc
+
LOCATION_EXTRA
end
if
ft1
>
0
then
loc
=
loc
+
LOCATION_EXTRA
end
...
@@ -107,8 +107,8 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -107,8 +107,8 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
local
lscale
=
0
local
lscale
=
0
local
rscale
=
11
local
rscale
=
11
local
ft
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_FUSION
)
--所有空区域
local
ft
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_FUSION
)
--所有空区域
local
ft1
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_LINK
)
--空的额外怪兽区域或者连接区
local
ft1
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_LINK
)
--空的额外怪兽区域或者连接区
,,即只能从额外灵摆召唤的区域
local
ft2
=
ft
-
ft1
--所有空区域-空的额外怪兽区域或者连接区
local
ft2
=
ft
-
ft1
--所有空区域-空的额外怪兽区域或者连接区
,即只能从手卡灵摆召唤的区域
local
ft3
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
--空的主要怪兽区域
local
ft3
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
--空的主要怪兽区域
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
if
ft1
>
0
then
ft1
=
1
end
if
ft1
>
0
then
ft1
=
1
end
...
@@ -116,6 +116,7 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -116,6 +116,7 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
ft
=
1
ft
=
1
end
end
local
ect
=
(
c29724053
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29724053
)
and
c29724053
[
tp
])
or
ft
local
ect
=
(
c29724053
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29724053
)
and
c29724053
[
tp
])
or
ft
--受到效果影响导致能特召的最大数量
if
ect
~=
nil
then
ft
=
math.min
(
ft
,
ect
)
end
if
ect
~=
nil
then
ft
=
math.min
(
ft
,
ect
)
end
local
loc
=
0
local
loc
=
0
if
ft1
>
0
then
loc
=
loc
+
LOCATION_EXTRA
end
if
ft1
>
0
then
loc
=
loc
+
LOCATION_EXTRA
end
...
@@ -147,7 +148,8 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -147,7 +148,8 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
ce
=
eset
[
op
+
1
]
ce
=
eset
[
op
+
1
]
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
tg
:
SelectSubGroup
(
tp
,
c50224305
.
gcheck
,
true
,
1
,
ft
,
ft1
,
ft2
,
ft3
,
ect
,
ft
)
local
g
=
tg
:
SelectSubGroup
(
tp
,
c50224305
.
gcheck
,
true
,
1
,
math.min
(
ft
,
#
tg
),
ft1
,
ft2
,
ft3
,
ect
,
ft
)
if
not
g
then
return
end
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
if
ce
then
if
ce
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ce
:
GetOwner
():
GetOriginalCode
())
Duel
.
Hint
(
HINT_CARD
,
0
,
ce
:
GetOwner
():
GetOriginalCode
())
...
...
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