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
2cf47492
Commit
2cf47492
authored
Aug 30, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
91cd8cce
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
13 deletions
+12
-13
script/c29307554.lua
script/c29307554.lua
+2
-2
script/c37115575.lua
script/c37115575.lua
+2
-2
script/c48210156.lua
script/c48210156.lua
+0
-1
script/c69750546.lua
script/c69750546.lua
+2
-2
script/c74329404.lua
script/c74329404.lua
+1
-1
script/c76547525.lua
script/c76547525.lua
+2
-2
script/c847915.lua
script/c847915.lua
+1
-1
script/c87473172.lua
script/c87473172.lua
+1
-1
script/c92035412.lua
script/c92035412.lua
+1
-1
No files found.
script/c29307554.lua
View file @
2cf47492
...
...
@@ -24,8 +24,8 @@ function c29307554.checkop(e,tp,eg,ep,ev,re,r,rp)
local
p2
=
false
while
tc
do
if
tc
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
tc
:
IsPreviousPosition
(
POS_DEFENCE
)
then
if
tc
:
GetReasonPlayer
()
==
0
and
tc
:
IsControler
(
1
)
then
p1
=
true
end
if
tc
:
GetReasonPlayer
()
==
1
and
tc
:
IsControler
(
0
)
then
p2
=
true
end
if
tc
:
GetReasonPlayer
()
==
0
and
tc
:
GetPreviousControler
()
==
1
then
p1
=
true
end
if
tc
:
GetReasonPlayer
()
==
1
and
tc
:
GetPreviousControler
()
==
0
then
p2
=
true
end
end
tc
=
eg
:
GetNext
()
end
...
...
script/c37115575.lua
View file @
2cf47492
...
...
@@ -80,8 +80,8 @@ function c37115575.excon(e)
return
Duel
.
IsExistingMatchingCard
(
c37115575
.
exfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c37115575
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousCodeOnField
()
~=
37115575
and
c
:
IsPreviousSetCard
(
0x23
)
and
not
c
:
IsReason
(
REASON_RULE
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0x23
)
and
c
:
GetPreviousCodeOnField
()
~=
37115575
and
not
c
:
IsReason
(
REASON_RULE
)
end
function
c37115575
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c37115575
.
cfilter
,
1
,
nil
,
tp
)
...
...
script/c48210156.lua
View file @
2cf47492
...
...
@@ -25,7 +25,6 @@ end
function
c48210156
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
fid
=
e
:
GetHandler
():
GetFieldID
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c69750546.lua
View file @
2cf47492
...
...
@@ -45,10 +45,10 @@ function c69750546.costfilter(c)
end
function
c69750546
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c69750546
.
costfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
2
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
GetMatchingGroup
(
c69750546
.
costfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
nil
)
if
g
:
GetCount
()
>
2
then
g
=
Duel
.
SelectMatchingCard
(
tp
,
c69750546
.
costfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
2
,
2
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
g
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
end
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
...
...
script/c74329404.lua
View file @
2cf47492
...
...
@@ -30,7 +30,7 @@ function c74329404.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c74329404
.
ctfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0xc008
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0xc008
)
end
function
c74329404
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c74329404
.
ctfilter
,
1
,
nil
,
tp
)
...
...
script/c76547525.lua
View file @
2cf47492
...
...
@@ -21,8 +21,8 @@ function c76547525.cfilter(c,atk)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
>
atk
end
function
c76547525
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c76547525
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
and
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
and
Duel
.
IsExistingMatchingCard
(
c76547525
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
end
function
c76547525
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
...
...
script/c847915.lua
View file @
2cf47492
...
...
@@ -42,7 +42,7 @@ function c847915.actcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c847915
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c847915
.
dfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0x48
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0x48
)
end
function
c847915
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c847915
.
dfilter
,
1
,
nil
,
tp
)
...
...
script/c87473172.lua
View file @
2cf47492
...
...
@@ -13,7 +13,7 @@ function c87473172.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c87473172
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_WINDBEAST
)
~=
0
end
function
c87473172
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c92035412.lua
View file @
2cf47492
...
...
@@ -18,7 +18,7 @@ function c92035412.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c92035412
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0x30
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0x30
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_EQUIP
)
~=
0
end
function
c92035412
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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