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
97592646
Commit
97592646
authored
Nov 22, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
48a405e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
c13893596.lua
c13893596.lua
+5
-16
No files found.
c13893596.lua
View file @
97592646
...
@@ -62,8 +62,8 @@ end
...
@@ -62,8 +62,8 @@ end
function
c13893596
.
tgfilter
(
c
)
function
c13893596
.
tgfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
end
end
function
c13893596
.
filter
(
c
,
rc
,
code
)
function
c13893596
.
filter
(
c
,
rc
)
return
c
:
IsRelateToCard
(
rc
)
and
c
:
GetCode
()
==
code
return
c
:
IsRelateToCard
(
rc
)
and
c
:
IsSetCard
(
0x40
)
end
end
function
c13893596
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13893596
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
WIN_REASON_EXODIUS
=
0x14
local
WIN_REASON_EXODIUS
=
0x14
...
@@ -73,20 +73,9 @@ function c13893596.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,20 +73,9 @@ function c13893596.tgop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
0x1fe0000
)
tc
:
CreateRelation
(
c
,
RESET_EVENT
+
0x1fe0000
)
local
a1
=
false
local
a2
=
false
local
a3
=
false
local
a4
=
false
local
a5
=
false
local
g
=
Duel
.
GetMatchingGroup
(
c13893596
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
c
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_GRAVE
,
0
)
if
g
:
GetClassCount
(
Card
.
GetCode
)
==
5
then
local
gc
=
g
:
GetFirst
()
while
gc
do
if
c13893596
.
filter
(
gc
,
c
,
8124921
)
then
a1
=
true
elseif
c13893596
.
filter
(
gc
,
c
,
44519536
)
then
a2
=
true
elseif
c13893596
.
filter
(
gc
,
c
,
70903634
)
then
a3
=
true
elseif
c13893596
.
filter
(
gc
,
c
,
7902349
)
then
a4
=
true
elseif
c13893596
.
filter
(
gc
,
c
,
33396948
)
then
a5
=
true
end
gc
=
g
:
GetNext
()
end
if
a1
and
a2
and
a3
and
a4
and
a5
then
Duel
.
Win
(
tp
,
WIN_REASON_EXODIUS
)
Duel
.
Win
(
tp
,
WIN_REASON_EXODIUS
)
end
end
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