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
Reinen
ygopro-scripts
Commits
965e7f88
Commit
965e7f88
authored
Mar 14, 2018
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
61570545
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
+20
-8
c41999284.lua
c41999284.lua
+4
-6
c50696588.lua
c50696588.lua
+2
-1
c61888819.lua
c61888819.lua
+14
-1
No files found.
c41999284.lua
View file @
965e7f88
...
...
@@ -45,14 +45,12 @@ function c41999284.atkop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
function
c41999284
.
cfilter
(
c
,
ft
,
tp
)
return
c
:
GetLevel
()
==
1
and
c
:
IsControler
(
tp
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
function
c41999284
.
cfilter
(
c
,
tp
)
return
c
:
GetLevel
()
==
1
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
c41999284
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
chk
==
0
then
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
c41999284
.
cfilter
,
1
,
nil
,
ft
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c41999284
.
cfilter
,
1
,
1
,
nil
,
ft
,
tp
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c41999284
.
cfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c41999284
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c41999284
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c50696588.lua
View file @
965e7f88
...
...
@@ -26,8 +26,9 @@ function c50696588.activate(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_MUST_USE_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetValue
(
flag
)
e1
:
SetCountLimit
(
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
c61888819.lua
View file @
965e7f88
...
...
@@ -5,7 +5,14 @@ function c61888819.initial_effect(c)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0xa
),
2
,
2
)
c
:
EnableReviveLimit
()
--force mzone
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_MUST_USE_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_EXTRA
,
LOCATION_EXTRA
)
e1
:
SetCondition
(
c54813225
.
frccon
)
e1
:
SetValue
(
c54813225
.
frcval
)
c
:
RegisterEffect
(
e1
)
--cannot be target/indestructable
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -35,6 +42,12 @@ function c61888819.initial_effect(c)
e6
:
SetOperation
(
c61888819
.
spop
)
c
:
RegisterEffect
(
e6
)
end
function
c61888819
.
frccon
(
e
)
return
e
:
GetHandler
():
GetSequence
()
>
4
end
function
c61888819
.
frcval
(
e
,
c
,
fp
,
rp
,
r
)
return
e
:
GetHandler
():
GetLinkedZone
()
end
function
c61888819
.
indcon
(
e
)
return
e
:
GetHandler
():
GetLinkedGroupCount
()
>
0
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