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
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
MyCard
ygopro-scripts
Commits
1d97af5c
Commit
1d97af5c
authored
Oct 19, 2018
by
nekrozar
Committed by
DailyShana
Oct 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Familiar-Possessed (#1106)
parent
6d5b86cb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
31 deletions
+47
-31
c21390858.lua
c21390858.lua
+7
-7
c31764353.lua
c31764353.lua
+10
-6
c31887905.lua
c31887905.lua
+10
-6
c4376658.lua
c4376658.lua
+10
-6
c68881649.lua
c68881649.lua
+10
-6
No files found.
c21390858.lua
View file @
1d97af5c
--
凭依装着-达克
--
憑依装着-ダルク
function
c21390858
.
initial_effect
(
c
)
function
c21390858
.
initial_effect
(
c
)
--spsummon proc
--spsummon proc
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -20,6 +20,12 @@ function c21390858.initial_effect(c)
...
@@ -20,6 +20,12 @@ function c21390858.initial_effect(c)
e2
:
SetTarget
(
c21390858
.
target
)
e2
:
SetTarget
(
c21390858
.
target
)
e2
:
SetOperation
(
c21390858
.
operation
)
e2
:
SetOperation
(
c21390858
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--pierce
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_PIERCE
)
e3
:
SetCondition
(
c21390858
.
condition
)
c
:
RegisterEffect
(
e3
)
end
end
function
c21390858
.
spfilter1
(
c
,
tp
)
function
c21390858
.
spfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
19327348
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
19327348
)
and
c
:
IsAbleToGraveAsCost
()
...
@@ -42,12 +48,6 @@ function c21390858.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -42,12 +48,6 @@ function c21390858.spop(e,tp,eg,ep,ev,re,r,rp,c)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
--pierce
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
end
end
function
c21390858
.
tfilter
(
c
)
function
c21390858
.
tfilter
(
c
)
return
c
:
IsLevel
(
3
,
4
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsLevel
(
3
,
4
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAbleToHand
()
...
...
c31764353.lua
View file @
1d97af5c
...
@@ -8,7 +8,14 @@ function c31764353.initial_effect(c)
...
@@ -8,7 +8,14 @@ function c31764353.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c31764353
.
spcon
)
e1
:
SetCondition
(
c31764353
.
spcon
)
e1
:
SetOperation
(
c31764353
.
spop
)
e1
:
SetOperation
(
c31764353
.
spop
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_PIERCE
)
e2
:
SetCondition
(
c31764353
.
condition
)
c
:
RegisterEffect
(
e2
)
end
end
function
c31764353
.
spfilter1
(
c
,
tp
)
function
c31764353
.
spfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
37744402
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
37744402
)
and
c
:
IsAbleToGraveAsCost
()
...
@@ -31,10 +38,7 @@ function c31764353.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -31,10 +38,7 @@ function c31764353.spop(e,tp,eg,ep,ev,re,r,rp,c)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
--pierce
end
local
e1
=
Effect
.
CreateEffect
(
c
)
function
c31764353
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
end
end
c31887905.lua
View file @
1d97af5c
...
@@ -8,7 +8,14 @@ function c31887905.initial_effect(c)
...
@@ -8,7 +8,14 @@ function c31887905.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c31887905
.
spcon
)
e1
:
SetCondition
(
c31887905
.
spcon
)
e1
:
SetOperation
(
c31887905
.
spop
)
e1
:
SetOperation
(
c31887905
.
spop
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_PIERCE
)
e2
:
SetCondition
(
c31887905
.
condition
)
c
:
RegisterEffect
(
e2
)
end
end
function
c31887905
.
spfilter1
(
c
,
tp
)
function
c31887905
.
spfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
37970940
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
37970940
)
and
c
:
IsAbleToGraveAsCost
()
...
@@ -31,10 +38,7 @@ function c31887905.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -31,10 +38,7 @@ function c31887905.spop(e,tp,eg,ep,ev,re,r,rp,c)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
--pierce
end
local
e1
=
Effect
.
CreateEffect
(
c
)
function
c31887905
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
end
end
c4376658.lua
View file @
1d97af5c
...
@@ -8,7 +8,14 @@ function c4376658.initial_effect(c)
...
@@ -8,7 +8,14 @@ function c4376658.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c4376658
.
spcon
)
e1
:
SetCondition
(
c4376658
.
spcon
)
e1
:
SetOperation
(
c4376658
.
spop
)
e1
:
SetOperation
(
c4376658
.
spop
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_PIERCE
)
e2
:
SetCondition
(
c4376658
.
condition
)
c
:
RegisterEffect
(
e2
)
end
end
function
c4376658
.
spfilter1
(
c
,
tp
)
function
c4376658
.
spfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
759393
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
759393
)
and
c
:
IsAbleToGraveAsCost
()
...
@@ -31,10 +38,7 @@ function c4376658.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -31,10 +38,7 @@ function c4376658.spop(e,tp,eg,ep,ev,re,r,rp,c)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
--pierce
end
local
e1
=
Effect
.
CreateEffect
(
c
)
function
c4376658
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
end
end
c68881649.lua
View file @
1d97af5c
...
@@ -8,7 +8,14 @@ function c68881649.initial_effect(c)
...
@@ -8,7 +8,14 @@ function c68881649.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_DECK
)
e1
:
SetCondition
(
c68881649
.
spcon
)
e1
:
SetCondition
(
c68881649
.
spcon
)
e1
:
SetOperation
(
c68881649
.
spop
)
e1
:
SetOperation
(
c68881649
.
spop
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_PIERCE
)
e2
:
SetCondition
(
c68881649
.
condition
)
c
:
RegisterEffect
(
e2
)
end
end
function
c68881649
.
spfilter1
(
c
,
tp
)
function
c68881649
.
spfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
74364659
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
74364659
)
and
c
:
IsAbleToGraveAsCost
()
...
@@ -31,10 +38,7 @@ function c68881649.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -31,10 +38,7 @@ function c68881649.spop(e,tp,eg,ep,ev,re,r,rp,c)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
--pierce
end
local
e1
=
Effect
.
CreateEffect
(
c
)
function
c68881649
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
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