Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
6198b69a
Commit
6198b69a
authored
Dec 25, 2017
by
mercury233
Committed by
GitHub
Dec 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
fb3d91ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
c42461852.lua
c42461852.lua
+8
-10
No files found.
c42461852.lua
View file @
6198b69a
--サイバネット・ストーム
--not fully implemented
function
c42461852
.
initial_effect
(
c
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -50,14 +49,13 @@ function c42461852.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c42461852
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--prototype, to be replaced with the appropriate core functions
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
g
:
GetCount
()
==
0
or
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
then
return
end
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
if
tc
then
Duel
.
ConfirmCards
(
PLAYER_ALL
,
tc
)
if
tc
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
tc
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
or
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
or
Duel
.
GetMatchingGroupCount
(
Card
.
IsFacedown
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
==
0
then
return
end
Duel
.
ShuffleExtra
(
tp
)
Duel
.
ConfirmExtratop
(
tp
,
1
)
local
tc
=
Duel
.
GetExtraTopGroup
(
tp
,
1
):
GetFirst
()
if
tc
:
IsType
(
TYPE_LINK
)
and
tc
:
IsRace
(
RACE_CYBERSE
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
tc
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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