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
30cd12c6
Commit
30cd12c6
authored
Dec 16, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
5fd803a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
expansions/script/c22250003.lua
expansions/script/c22250003.lua
+1
-1
expansions/script/c22250101.lua
expansions/script/c22250101.lua
+1
-1
expansions/script/c22251001.lua
expansions/script/c22251001.lua
+2
-6
No files found.
expansions/script/c22250003.lua
View file @
30cd12c6
...
@@ -33,7 +33,7 @@ function c22250003.IsRiviera(c)
...
@@ -33,7 +33,7 @@ function c22250003.IsRiviera(c)
return
m
and
m
.
named_with_Riviera
return
m
and
m
.
named_with_Riviera
end
end
function
c22250003
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22250003
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
GetTurnPlayer
()
~=
rp
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
GetTurnPlayer
()
~=
rp
end
end
function
c22250003
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22250003
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c22250101.lua
View file @
30cd12c6
...
@@ -70,7 +70,7 @@ function c22250101.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c22250101.atkop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
-
500
)
e2
:
SetValue
(
-
500
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
bc
:
RegisterEffect
(
e2
)
bc
:
RegisterEffect
(
e2
)
if
bc
:
GetAttack
()
*
bc
:
GetDefense
()
==
0
then
if
(
bc
:
IsType
(
TYPE_LINK
)
and
bc
:
GetAttack
()
==
0
)
or
(
bc
:
GetAttack
()
*
bc
:
GetDefense
()
==
0
and
not
bc
:
IsType
(
TYPE_LINK
))
then
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
if
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c22251001.lua
View file @
30cd12c6
...
@@ -171,13 +171,9 @@ function c22251001.op(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -171,13 +171,9 @@ function c22251001.op(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetValue
(
-
400
*
e
:
GetLabel
())
e1
:
SetValue
(
-
400
*
e
:
GetLabel
())
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
if
tc
:
GetAttack
()
*
tc
:
GetDefense
()
==
0
then
if
(
tc
:
IsType
(
TYPE_LINK
)
and
tc
:
GetAttack
()
==
0
)
or
(
tc
:
GetAttack
()
*
tc
:
GetDefense
()
==
0
and
not
tc
:
IsType
(
TYPE_LINK
))
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
end
end
\ No newline at end of file
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