Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
8b681777
Commit
8b681777
authored
Aug 15, 2022
by
mercury233
Committed by
GitHub
Aug 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Ruins of the Divine Dragon Lords (#1945)
parent
7f6e096c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
c69868555.lua
c69868555.lua
+2
-2
c73082255.lua
c73082255.lua
+2
-2
No files found.
c69868555.lua
View file @
8b681777
...
@@ -39,7 +39,7 @@ function c69868555.initial_effect(c)
...
@@ -39,7 +39,7 @@ function c69868555.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c69868555
.
cfilter
(
c
)
function
c69868555
.
cfilter
(
c
)
return
not
c
:
IsSummonLocation
(
LOCATION_GRAVE
)
return
not
c
:
IsSummonLocation
(
LOCATION_GRAVE
)
or
(
c
:
GetOriginalType
()
&
TYPE_TRAP
~=
0
)
end
end
function
c69868555
.
dfilter
(
c
,
eg
)
function
c69868555
.
dfilter
(
c
,
eg
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
7
,
8
)
and
not
eg
:
IsContains
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
7
,
8
)
and
not
eg
:
IsContains
(
c
)
...
@@ -55,7 +55,7 @@ function c69868555.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,7 +55,7 @@ function c69868555.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c69868555
.
filter
(
c
,
e
)
function
c69868555
.
filter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsPreviousLocation
(
LOCATION_GRAVE
)
and
c
:
IsRelateToEffect
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c69868555
.
cfilter
(
c
)
and
c
:
IsRelateToEffect
(
e
)
end
end
function
c69868555
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69868555
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
c69868555
.
filter
,
nil
,
e
)
local
g
=
eg
:
Filter
(
c69868555
.
filter
,
nil
,
e
)
...
...
c73082255.lua
View file @
8b681777
...
@@ -43,8 +43,8 @@ end
...
@@ -43,8 +43,8 @@ end
function
c73082255
.
eval
(
e
,
re
,
rp
)
function
c73082255
.
eval
(
e
,
re
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
rc
:
IsSummonLocation
(
LOCATION_GRAVE
)
and
rc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetActivateLocation
()
==
LOCATION_MZONE
and
rc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
re
:
GetActivateLocation
()
==
LOCATION_MZONE
and
(
not
rc
:
IsSummonLocation
(
LOCATION_GRAVE
)
or
(
rc
:
GetOriginalType
()
&
TYPE_TRAP
~=
0
))
end
end
function
c73082255
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73082255
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
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