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
b8ee1466
Commit
b8ee1466
authored
Nov 09, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fa1df25b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
c19406822.lua
c19406822.lua
+2
-1
No files found.
c19406822.lua
View file @
b8ee1466
...
@@ -3,7 +3,6 @@ function c19406822.initial_effect(c)
...
@@ -3,7 +3,6 @@ function c19406822.initial_effect(c)
--adjust
--adjust
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c19406822
.
adjustop
)
e1
:
SetOperation
(
c19406822
.
adjustop
)
...
@@ -31,10 +30,12 @@ function c19406822.adjustop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,10 +30,12 @@ function c19406822.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
dg
:
GetCount
()
==
0
or
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
==
0
then
if
dg
:
GetCount
()
==
0
or
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
==
0
then
pg
:
Clear
()
pg
:
Clear
()
pg
:
Merge
(
g
)
pg
:
Merge
(
g
)
pg
:
Sub
(
dg
)
else
else
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
pg
:
Clear
()
pg
:
Clear
()
pg
:
Merge
(
g
)
pg
:
Merge
(
g
)
pg
:
Sub
(
dg
)
Duel
.
Readjust
()
Duel
.
Readjust
()
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