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
1dca0c08
Commit
1dca0c08
authored
Jun 30, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d1d99049
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
14 deletions
+26
-14
c16625614.lua
c16625614.lua
+2
-7
c30170981.lua
c30170981.lua
+5
-1
c31893528.lua
c31893528.lua
+5
-1
c67287533.lua
c67287533.lua
+5
-1
c81210420.lua
c81210420.lua
+4
-3
c94772232.lua
c94772232.lua
+5
-1
No files found.
c16625614.lua
View file @
1dca0c08
...
...
@@ -54,15 +54,10 @@ function c16625614.dbop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
id
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
181
,
tp
,
true
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16625614
,
0
))
then
tc
:
ResetEffect
(
EFFECT_CANNOT_SPECIAL_SUMMON
,
RESET_CODE
)
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_DARK
,
RACE_FIEND
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e6
=
Effect
.
CreateEffect
(
tc
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
tc
:
RegisterEffect
(
e6
,
true
)
Duel
.
SpecialSummonStep
(
tc
,
181
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
--immune
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c30170981.lua
View file @
1dca0c08
...
...
@@ -6,6 +6,10 @@ function c30170981.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e2
:
SetCost
(
c30170981
.
spcost
)
c
:
RegisterEffect
(
e2
)
end
function
c30170981
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
end
c31893528.lua
View file @
1dca0c08
...
...
@@ -6,6 +6,10 @@ function c31893528.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e2
:
SetCost
(
c31893528
.
spcost
)
c
:
RegisterEffect
(
e2
)
end
function
c31893528
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
end
c67287533.lua
View file @
1dca0c08
...
...
@@ -6,6 +6,10 @@ function c67287533.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e2
:
SetCost
(
c67287533
.
spcost
)
c
:
RegisterEffect
(
e2
)
end
function
c67287533
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
end
c81210420.lua
View file @
1dca0c08
...
...
@@ -17,21 +17,22 @@ end
function
c81210420
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
end
function
c81210420
.
spfilter
(
c
,
tp
)
function
c81210420
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
nil
,
0x11
,
0
,
0
,
0
,
0
,
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
,
POS_FACEDOWN
)
end
function
c81210420
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c81210420
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
IsExistingMatchingCard
(
c81210420
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c81210420
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
function
c81210420
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
2
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c81210420
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c81210420
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c81210420
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
):
GetFirst
()
...
...
c94772232.lua
View file @
1dca0c08
...
...
@@ -6,6 +6,10 @@ function c94772232.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e2
:
SetCost
(
c94772232
.
spcost
)
c
:
RegisterEffect
(
e2
)
end
function
c94772232
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_SPECIAL
+
181
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