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
4fe40a5e
Commit
4fe40a5e
authored
Apr 26, 2018
by
wind2009
Committed by
GitHub
Apr 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for Elemental lord Event
parent
7d6e4a07
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
102 additions
and
12 deletions
+102
-12
c13959634.lua
c13959634.lua
+17
-2
c35842855.lua
c35842855.lua
+17
-2
c53027855.lua
c53027855.lua
+17
-2
c59281822.lua
c59281822.lua
+17
-2
c61468779.lua
c61468779.lua
+17
-2
c8192327.lua
c8192327.lua
+17
-2
No files found.
c13959634.lua
View file @
4fe40a5e
...
...
@@ -33,11 +33,26 @@ function c13959634.initial_effect(c)
e4
:
SetOperation
(
c13959634
.
leaveop
)
c
:
RegisterEffect
(
e4
)
end
-- function c13959634.spcon(e,c)
-- if c==nil then return true end
-- return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
-- Duel.GetMatchingGroupCount(Card.IsAttribute,c:GetControler(),LOCATION_GRAVE,0,nil,ATTRIBUTE_WATER)==5
-- end
-- Code: The Elemental Awakening
function
c13959634
.
spfilter1
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c13959634
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
c
:
GetAttribute
())
end
function
c13959634
.
spfilter2
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
end
function
c13959634
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_WATER
)
==
5
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c13959634
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
function
c13959634
.
hdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
1
-
tp
,
2
)
...
...
c35842855.lua
View file @
4fe40a5e
...
...
@@ -34,11 +34,26 @@ function c35842855.initial_effect(c)
e4
:
SetOperation
(
c35842855
.
leaveop
)
c
:
RegisterEffect
(
e4
)
end
-- function c35842855.spcon(e,c)
-- if c==nil then return true end
-- return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
-- Duel.GetMatchingGroupCount(Card.IsAttribute,c:GetControler(),LOCATION_GRAVE,0,nil,ATTRIBUTE_FIRE)==5
-- end
-- Code: The Elemental Awakening
function
c35842855
.
spfilter1
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c35842855
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
c
:
GetAttribute
())
end
function
c35842855
.
spfilter2
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
end
function
c35842855
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_FIRE
)
==
5
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c35842855
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
function
c35842855
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c53027855.lua
View file @
4fe40a5e
...
...
@@ -33,11 +33,26 @@ function c53027855.initial_effect(c)
e4
:
SetOperation
(
c53027855
.
leaveop
)
c
:
RegisterEffect
(
e4
)
end
-- function c53027855.spcon(e,c)
-- if c==nil then return true end
-- return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
-- Duel.GetMatchingGroupCount(Card.IsAttribute,c:GetControler(),LOCATION_GRAVE,0,nil,ATTRIBUTE_WIND)==5
-- end
-- Code: The Elemental Awakening
function
c53027855
.
spfilter1
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c53027855
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
c
:
GetAttribute
())
end
function
c53027855
.
spfilter2
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
end
function
c53027855
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_WIND
)
==
5
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c53027855
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
function
c53027855
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
...
...
c59281822.lua
View file @
4fe40a5e
...
...
@@ -33,11 +33,26 @@ function c59281822.initial_effect(c)
e4
:
SetOperation
(
c59281822
.
leaveop
)
c
:
RegisterEffect
(
e4
)
end
-- function c59281822.spcon(e,c)
-- if c==nil then return true end
-- return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
-- Duel.GetMatchingGroupCount(Card.IsAttribute,c:GetControler(),LOCATION_GRAVE,0,nil,ATTRIBUTE_DARK)==5
-- end
-- Code: The Elemental Awakening
function
c59281822
.
spfilter1
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c59281822
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
c
:
GetAttribute
())
end
function
c59281822
.
spfilter2
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
end
function
c59281822
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_DARK
)
==
5
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c59281822
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
function
c59281822
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
c61468779.lua
View file @
4fe40a5e
...
...
@@ -34,11 +34,26 @@ function c61468779.initial_effect(c)
e4
:
SetOperation
(
c61468779
.
leaveop
)
c
:
RegisterEffect
(
e4
)
end
-- function c61468779.spcon(e,c)
-- if c==nil then return true end
-- return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
-- Duel.GetMatchingGroupCount(Card.IsAttribute,c:GetControler(),LOCATION_GRAVE,0,nil,ATTRIBUTE_EARTH)==5
-- end
-- Code: The Elemental Awakening
function
c61468779
.
spfilter1
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c61468779
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
c
:
GetAttribute
())
end
function
c61468779
.
spfilter2
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
end
function
c61468779
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_EARTH
)
==
5
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c61468779
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
function
c61468779
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
c8192327.lua
View file @
4fe40a5e
...
...
@@ -33,11 +33,26 @@ function c8192327.initial_effect(c)
e4
:
SetOperation
(
c8192327
.
leaveop
)
c
:
RegisterEffect
(
e4
)
end
-- function c8192327.spcon(e,c)
-- if c==nil then return true end
-- return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
-- Duel.GetMatchingGroupCount(Card.IsAttribute,c:GetControler(),LOCATION_GRAVE,0,nil,ATTRIBUTE_LIGHT)==5
-- end
-- Code: The Elemental Awakening
function
c8192327
.
spfilter1
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c8192327
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
c
:
GetAttribute
())
end
function
c8192327
.
spfilter2
(
c
,
att
)
return
c
:
IsAttribute
(
att
)
end
function
c8192327
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_LIGHT
)
==
5
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c8192327
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
function
c8192327
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
...
...
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