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
223798d4
Commit
223798d4
authored
Dec 21, 2021
by
Chrono-Genex
Committed by
GitHub
Dec 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Gravekeeper's Oracle (#1772)
parent
ec37c6e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
c25524823.lua
c25524823.lua
+18
-12
No files found.
c25524823.lua
View file @
223798d4
...
@@ -141,22 +141,28 @@ function c25524823.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -141,22 +141,28 @@ function c25524823.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
if
bit
.
band
(
sel
,
2
)
~=
0
then
if
bit
.
band
(
sel
,
2
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c25524823
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c25524823
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
if
bit
.
band
(
sel
,
4
)
~=
0
then
if
bit
.
band
(
sel
,
4
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
if
tc
then
local
e1
=
Effect
.
CreateEffect
(
c
)
Duel
.
BreakEffect
()
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
while
tc
do
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetValue
(
-
2000
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
tc
:
RegisterEffect
(
e1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
local
e2
=
e1
:
Clone
()
e1
:
SetValue
(
-
2000
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e2
)
local
e2
=
e1
:
Clone
()
tc
=
g
:
GetNext
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
end
end
end
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