Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
3654fcde
Commit
3654fcde
authored
Aug 10, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2eed90c1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
script/c11609969.lua
script/c11609969.lua
+4
-2
script/c74605254.lua
script/c74605254.lua
+5
-2
script/c9765723.lua
script/c9765723.lua
+1
-0
No files found.
script/c11609969.lua
View file @
3654fcde
...
@@ -54,11 +54,13 @@ function c11609969.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,11 +54,13 @@ function c11609969.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
scl
=
math.max
(
1
,
e
:
GetHandler
():
GetLeftScale
()
-
2
)
local
scl
=
math.max
(
1
,
e
:
GetHandler
():
GetLeftScale
()
-
2
)
local
g
=
Duel
.
GetMatchingGroup
(
c11609969
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
scl
)
local
g
=
Duel
.
GetMatchingGroup
(
c11609969
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
scl
)
if
c
:
GetLeftScale
()
>
1
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
end
function
c11609969
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11609969
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetLeftScale
()
==
1
then
return
end
local
scl
=
math.max
(
1
,
c
:
GetLeftScale
()
-
2
)
local
scl
=
math.max
(
1
,
c
:
GetLeftScale
()
-
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c74605254.lua
View file @
3654fcde
...
@@ -4,6 +4,7 @@ function c74605254.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c74605254.initial_effect(c)
aux
.
AddPendulumProcedure
(
c
)
aux
.
AddPendulumProcedure
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
74605254
,
1
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -54,11 +55,13 @@ function c74605254.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,11 +55,13 @@ function c74605254.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
scl
=
math.min
(
10
,
e
:
GetHandler
():
GetLeftScale
()
+
2
)
local
scl
=
math.min
(
10
,
e
:
GetHandler
():
GetLeftScale
()
+
2
)
local
g
=
Duel
.
GetMatchingGroup
(
c74605254
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
scl
)
local
g
=
Duel
.
GetMatchingGroup
(
c74605254
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
scl
)
if
c
:
GetLeftScale
()
<
10
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
end
function
c74605254
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74605254
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetLeftScale
()
==
10
then
return
end
local
scl
=
math.min
(
10
,
c
:
GetLeftScale
()
+
2
)
local
scl
=
math.min
(
10
,
c
:
GetLeftScale
()
+
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c9765723.lua
View file @
3654fcde
...
@@ -4,6 +4,7 @@ function c9765723.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c9765723.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
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