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
7984041a
Commit
7984041a
authored
Dec 21, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #661 from salix5/patch
fix
parents
423b437e
01e7d2e0
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
3 additions
and
12 deletions
+3
-12
script/c21785144.lua
script/c21785144.lua
+0
-1
script/c22624373.lua
script/c22624373.lua
+0
-1
script/c40164421.lua
script/c40164421.lua
+0
-1
script/c44178886.lua
script/c44178886.lua
+0
-1
script/c4779823.lua
script/c4779823.lua
+0
-1
script/c48739166.lua
script/c48739166.lua
+1
-1
script/c57774843.lua
script/c57774843.lua
+0
-1
script/c63746411.lua
script/c63746411.lua
+1
-1
script/c7183277.lua
script/c7183277.lua
+0
-1
script/c77558536.lua
script/c77558536.lua
+1
-1
script/c95503687.lua
script/c95503687.lua
+0
-1
script/c96235275.lua
script/c96235275.lua
+0
-1
No files found.
script/c21785144.lua
View file @
7984041a
...
@@ -50,6 +50,5 @@ function c21785144.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,6 +50,5 @@ function c21785144.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c21785144
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21785144
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
end
end
script/c22624373.lua
View file @
7984041a
...
@@ -62,6 +62,5 @@ function c22624373.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,6 +62,5 @@ function c22624373.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c22624373
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22624373
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
end
end
script/c40164421.lua
View file @
7984041a
...
@@ -78,6 +78,5 @@ function c40164421.distg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,6 +78,5 @@ function c40164421.distg2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c40164421
.
disop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40164421
.
disop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
end
end
script/c44178886.lua
View file @
7984041a
...
@@ -42,6 +42,5 @@ function c44178886.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,6 +42,5 @@ function c44178886.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c44178886
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c44178886
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
end
end
script/c4779823.lua
View file @
7984041a
...
@@ -82,6 +82,5 @@ function c4779823.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -82,6 +82,5 @@ function c4779823.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c4779823
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4779823
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
end
end
script/c48739166.lua
View file @
7984041a
...
@@ -40,7 +40,7 @@ end
...
@@ -40,7 +40,7 @@ end
function
c48739166
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c48739166
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
og
=
tc
:
GetOverlayGroup
()
local
og
=
tc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
...
...
script/c57774843.lua
View file @
7984041a
...
@@ -73,6 +73,5 @@ function c57774843.target2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -73,6 +73,5 @@ function c57774843.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c57774843
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57774843
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
4
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
4
,
REASON_EFFECT
)
end
end
script/c63746411.lua
View file @
7984041a
...
@@ -37,7 +37,7 @@ end
...
@@ -37,7 +37,7 @@ end
function
c63746411
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63746411
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_EFFECT
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c7183277.lua
View file @
7984041a
...
@@ -34,6 +34,5 @@ function c7183277.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,6 +34,5 @@ function c7183277.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c7183277
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c7183277
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
end
end
script/c77558536.lua
View file @
7984041a
...
@@ -41,6 +41,7 @@ function c77558536.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,7 @@ function c77558536.operation(e,tp,eg,ep,ev,re,r,rp)
if
ct
==
0
then
return
end
if
ct
==
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
@@ -58,6 +59,5 @@ function c77558536.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -58,6 +59,5 @@ function c77558536.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c77558536
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c77558536
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
end
end
script/c95503687.lua
View file @
7984041a
...
@@ -55,6 +55,5 @@ function c95503687.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,6 +55,5 @@ function c95503687.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c95503687
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95503687
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
end
end
script/c96235275.lua
View file @
7984041a
...
@@ -34,6 +34,5 @@ function c96235275.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,6 +34,5 @@ function c96235275.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c96235275
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96235275
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
tp
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
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