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
5ac778ac
Commit
5ac778ac
authored
Nov 30, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new card LVP2-JP086
parent
abb97503
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
7 deletions
+72
-7
c1697104.lua
c1697104.lua
+2
-2
c2810642.lua
c2810642.lua
+2
-1
c38814750.lua
c38814750.lua
+2
-1
c74203495.lua
c74203495.lua
+2
-2
c75425043.lua
c75425043.lua
+2
-1
c8802510.lua
c8802510.lua
+62
-0
No files found.
c1697104.lua
View file @
5ac778ac
...
@@ -25,8 +25,8 @@ function c1697104.splimit(e,se,sp,st)
...
@@ -25,8 +25,8 @@ function c1697104.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
end
function
c1697104
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1697104
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8802510
))
and
Duel
.
IsChainNegatable
(
ev
)
and
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c1697104
.
spfilter
(
c
,
e
,
tp
)
function
c1697104
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c2810642.lua
View file @
5ac778ac
...
@@ -24,7 +24,8 @@ function c2810642.splimit(e,se,sp,st)
...
@@ -24,7 +24,8 @@ function c2810642.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
end
function
c2810642
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2810642
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
Duel
.
GetAttacker
():
GetControler
()
~=
tp
return
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8802510
))
and
Duel
.
GetAttacker
():
GetControler
()
~=
tp
end
end
function
c2810642
.
spfilter
(
c
,
e
,
tp
)
function
c2810642
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c38814750.lua
View file @
5ac778ac
...
@@ -25,7 +25,8 @@ function c38814750.splimit(e,se,sp,st)
...
@@ -25,7 +25,8 @@ function c38814750.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
end
function
c38814750
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c38814750
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
return
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8802510
))
and
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c38814750
.
spfilter
(
c
,
e
,
tp
)
function
c38814750
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c74203495.lua
View file @
5ac778ac
...
@@ -25,8 +25,8 @@ function c74203495.splimit(e,se,sp,st)
...
@@ -25,8 +25,8 @@ function c74203495.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
end
function
c74203495
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74203495
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8802510
))
and
Duel
.
IsChainNegatable
(
ev
)
and
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c74203495
.
spfilter
(
c
,
e
,
tp
)
function
c74203495
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c75425043.lua
View file @
5ac778ac
...
@@ -30,7 +30,8 @@ function c75425043.cfilter(c,tp)
...
@@ -30,7 +30,8 @@ function c75425043.cfilter(c,tp)
return
c
:
GetSummonPlayer
()
==
tp
return
c
:
GetSummonPlayer
()
==
tp
end
end
function
c75425043
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75425043
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
eg
:
IsExists
(
c75425043
.
cfilter
,
1
,
nil
,
1
-
tp
)
return
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8802510
))
and
eg
:
IsExists
(
c75425043
.
cfilter
,
1
,
nil
,
1
-
tp
)
end
end
function
c75425043
.
spfilter1
(
c
,
e
,
tp
)
function
c75425043
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c75425043
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
)
return
c
:
IsCode
(
49036338
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c75425043
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
)
...
...
c8802510.lua
0 → 100644
View file @
5ac778ac
--PSYフレームロード・Λ
function
c8802510
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
NOT
(
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_TOKEN
)),
2
,
2
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
8802510
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e1
)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
8802510
,
0
))
e2
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetCountLimit
(
1
,
8802510
)
e2
:
SetCondition
(
c8802510
.
regcon
)
e2
:
SetTarget
(
c8802510
.
regtg
)
e2
:
SetOperation
(
c8802510
.
regop
)
c
:
RegisterEffect
(
e2
)
end
function
c8802510
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_PSYCHO
)
~=
0
and
c
:
GetPreviousControler
()
==
tp
end
function
c8802510
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c8802510
.
cfilter
,
1
,
nil
,
tp
)
end
function
c8802510
.
regtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0xc1
)
end
end
function
c8802510
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c8802510
.
thcon
)
e1
:
SetOperation
(
c8802510
.
thop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c8802510
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xc1
)
and
c
:
IsAbleToHand
()
end
function
c8802510
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c8802510
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c8802510
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
8802510
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c8802510
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
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