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
bcbcacd0
Commit
bcbcacd0
authored
Dec 24, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faster activatable check
parent
bb5f1dd1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
c23536866.lua
c23536866.lua
+2
-1
c56611470.lua
c56611470.lua
+1
-1
c61314842.lua
c61314842.lua
+1
-1
c62829077.lua
c62829077.lua
+2
-2
No files found.
c23536866.lua
View file @
bcbcacd0
...
...
@@ -3,6 +3,7 @@ function c23536866.initial_effect(c)
--xyz
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
23536866
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
@@ -35,7 +36,7 @@ function c23536866.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
exg
=
Duel
.
GetMatchingGroup
(
c23536866
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
mg
:
IsExists
(
c23536866
.
mfilter1
,
1
,
nil
,
mg
,
exg
)
end
and
exg
:
GetCount
()
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg1
=
mg
:
FilterSelect
(
tp
,
c23536866
.
mfilter1
,
1
,
1
,
nil
,
mg
,
exg
)
local
tc1
=
sg1
:
GetFirst
()
...
...
c56611470.lua
View file @
bcbcacd0
...
...
@@ -38,7 +38,7 @@ function c56611470.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
mg
=
Duel
.
GetMatchingGroup
(
c56611470
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
exg
=
Duel
.
GetMatchingGroup
(
c56611470
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
mg
:
IsExists
(
c56611470
.
mfilter1
,
1
,
nil
,
mg
,
exg
)
end
and
exg
:
GetCount
()
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
sg1
=
mg
:
FilterSelect
(
tp
,
c56611470
.
mfilter1
,
1
,
1
,
nil
,
mg
,
exg
)
local
tc1
=
sg1
:
GetFirst
()
...
...
c61314842.lua
View file @
bcbcacd0
...
...
@@ -28,7 +28,7 @@ function c61314842.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
exg
=
Duel
.
GetMatchingGroup
(
c61314842
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
mg
:
IsExists
(
c61314842
.
mfilter1
,
1
,
nil
,
mg
,
exg
)
end
and
exg
:
GetCount
()
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg1
=
mg
:
FilterSelect
(
tp
,
c61314842
.
mfilter1
,
1
,
1
,
nil
,
mg
,
exg
)
local
tc1
=
sg1
:
GetFirst
()
...
...
c62829077.lua
View file @
bcbcacd0
...
...
@@ -39,7 +39,7 @@ function c62829077.mfilter2(c,mc,mg,exg)
return
mg
:
IsExists
(
c62829077
.
mfilter3
,
1
,
c
,
c
,
mc
,
exg
)
end
function
c62829077
.
mfilter3
(
c
,
mc1
,
mc2
,
exg
)
return
c
~=
mc2
and
exg
:
IsExists
(
Card
.
IsXyzSummonable
,
1
,
nil
,
Group
.
FromCards
(
c
,
mc1
,
mc2
))
return
c
~=
mc2
and
exg
:
IsExists
(
Card
.
IsXyzSummonable
,
1
,
nil
,
Group
.
FromCards
(
c
,
mc1
,
mc2
)
,
3
,
3
)
end
function
c62829077
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
...
...
@@ -47,7 +47,7 @@ function c62829077.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
exg
=
Duel
.
GetMatchingGroup
(
c62829077
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
2
and
mg
:
IsExists
(
c62829077
.
mfilter1
,
1
,
nil
,
mg
,
exg
)
end
and
exg
:
GetCount
()
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg1
=
mg
:
FilterSelect
(
tp
,
c62829077
.
mfilter1
,
1
,
1
,
nil
,
mg
,
exg
)
local
tc1
=
sg1
:
GetFirst
()
...
...
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