Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
GuGu
ygopro-THC-cards
Commits
15c0d86c
Commit
15c0d86c
authored
May 10, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c24094.lua
parent
fa2183dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
script/c24094.lua
script/c24094.lua
+9
-11
No files found.
script/c24094.lua
View file @
15c0d86c
...
@@ -42,20 +42,18 @@ end
...
@@ -42,20 +42,18 @@ end
function
c24094
.
spcon
(
e
,
c
)
function
c24094
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
1
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
or
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
<
1
end
end
function
c24094
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c24094
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
opt
=
2
local
opt
=
2
local
c1
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
1
local
c2
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
local
b2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
<
1
if
not
c1
then
opt
=
0
end
if
b1
then
opt
=
0
end
if
not
c2
then
opt
=
1
end
if
b2
then
opt
=
1
end
if
not
c1
and
not
c2
then
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
24094
,
0
),
aux
.
Stringid
(
24094
,
1
))
end
if
b1
and
b2
then
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
24094
,
0
),
aux
.
Stringid
(
24094
,
1
))
end
if
opt
==
1
then
e
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e
:
SetTargetRange
(
POS_FACEUP
,
1
)
e
:
SetTargetRange
(
POS_FACEUP
,
opt
)
end
--cannot spsummon
--cannot spsummon
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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