Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
36127bad
Commit
36127bad
authored
Sep 24, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
09e615ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c13257319.lua
expansions/script/c13257319.lua
+1
-1
expansions/script/c13257321.lua
expansions/script/c13257321.lua
+3
-3
No files found.
expansions/script/c13257319.lua
View file @
36127bad
...
@@ -84,7 +84,7 @@ function c13257319.eqfilter(c,ec)
...
@@ -84,7 +84,7 @@ function c13257319.eqfilter(c,ec)
return
c
:
IsSetCard
(
0x3352
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
CheckEquipTarget
(
ec
)
return
c
:
IsSetCard
(
0x3352
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
CheckEquipTarget
(
ec
)
end
end
function
c13257319
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13257319
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c13257319
.
eqfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
e
:
GetHandler
():
GetEquipCount
()
>
0
or
Duel
.
IsExistingMatchingCard
(
c13257319
.
eqfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
e
:
SetCategory
(
CATEGORY_EQUIP
)
e
:
SetCategory
(
CATEGORY_EQUIP
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
...
...
expansions/script/c13257321.lua
View file @
36127bad
...
@@ -58,7 +58,7 @@ function c13257321.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function c13257321.eqop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c13257321
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13257321
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
t1
=
Duel
.
IsExistingMatchingCard
(
c13257321
.
eqfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
local
t1
=
c
:
GetEquipCount
()
>
0
or
Duel
.
IsExistingMatchingCard
(
c13257321
.
eqfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
local
t2
=
Duel
.
IsCanAddCounter
(
tp
,
0x351
,
1
,
c
)
local
t2
=
Duel
.
IsCanAddCounter
(
tp
,
0x351
,
1
,
c
)
if
chk
==
0
then
return
t1
or
t2
end
if
chk
==
0
then
return
t1
or
t2
end
local
op
=
0
local
op
=
0
...
@@ -129,7 +129,7 @@ function c13257321.acfilter(c)
...
@@ -129,7 +129,7 @@ function c13257321.acfilter(c)
return
c
:
IsFaceup
()
and
(
c
:
GetAttack
()
>
0
or
c
:
GetDefense
()
>
0
)
return
c
:
IsFaceup
()
and
(
c
:
GetAttack
()
>
0
or
c
:
GetDefense
()
>
0
)
end
end
function
c13257321
.
desfilter
(
c
)
function
c13257321
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
GetAttack
()
==
0
or
c
:
GetDefense
()
==
0
)
return
c
:
IsFaceup
()
and
(
c
:
GetAttack
()
==
0
or
(
c
:
GetDefense
()
==
0
and
not
c
:
IsType
(
TYPE_LINK
))
)
end
end
function
c13257321
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13257321
.
bombop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c13257321
.
acfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c13257321
.
acfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
...
@@ -139,7 +139,7 @@ function c13257321.bombop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -139,7 +139,7 @@ function c13257321.bombop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
-
1000
)
e1
:
SetValue
(
-
1000
)
sc
:
RegisterEffect
(
e1
)
sc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
...
...
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