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
1542d1d9
Commit
1542d1d9
authored
Oct 21, 2019
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for Oracle of Zefra
parent
e7d3b88b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
c37440988.lua
c37440988.lua
+1
-0
c41685633.lua
c41685633.lua
+5
-4
No files found.
c37440988.lua
View file @
1542d1d9
...
@@ -51,6 +51,7 @@ function c37440988.hspcon(e,c)
...
@@ -51,6 +51,7 @@ function c37440988.hspcon(e,c)
end
end
function
c37440988
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c37440988
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c37440988
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c37440988
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c37440988
.
cfilter
(
c
)
function
c37440988
.
cfilter
(
c
)
...
...
c41685633.lua
View file @
1542d1d9
...
@@ -40,8 +40,8 @@ function c41685633.initial_effect(c)
...
@@ -40,8 +40,8 @@ function c41685633.initial_effect(c)
e4
:
SetTarget
(
c41685633
.
desreptg
)
e4
:
SetTarget
(
c41685633
.
desreptg
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c41685633
.
sprfilter1
(
c
)
function
c41685633
.
sprfilter1
(
c
,
sc
)
return
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
end
end
function
c41685633
.
sprfilter2
(
c
,
tp
,
sc
)
function
c41685633
.
sprfilter2
(
c
,
tp
,
sc
)
return
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsFusionType
(
TYPE_FUSION
)
return
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsFusionType
(
TYPE_FUSION
)
...
@@ -50,15 +50,16 @@ end
...
@@ -50,15 +50,16 @@ end
function
c41685633
.
sprcon
(
e
,
c
)
function
c41685633
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c41685633
.
sprfilter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c41685633
.
sprfilter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c41685633
.
sprfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c41685633
.
sprfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
end
end
function
c41685633
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c41685633
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c41685633
.
sprfilter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c41685633
.
sprfilter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c41685633
.
sprfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
c
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c41685633
.
sprfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
c
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
c
:
SetMaterial
(
g
)
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c41685633
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41685633
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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