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
b9588281
Commit
b9588281
authored
Nov 10, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #627 from sidschingis/master
fix
parents
f9632365
0aa1dd06
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
5 deletions
+14
-5
script/c17078030.lua
script/c17078030.lua
+1
-1
script/c32543380.lua
script/c32543380.lua
+6
-1
script/c35220244.lua
script/c35220244.lua
+1
-1
script/c39980304.lua
script/c39980304.lua
+1
-1
script/c71209500.lua
script/c71209500.lua
+4
-1
script/c86516889.lua
script/c86516889.lua
+1
-0
No files found.
script/c17078030.lua
View file @
b9588281
...
@@ -22,7 +22,7 @@ function c17078030.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -22,7 +22,7 @@ function c17078030.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
t
=
{}
local
t
=
{}
local
f
=
math.floor
((
lp
-
1
)
/
1000
)
local
f
=
math.floor
((
lp
-
1
)
/
1000
)
local
l
=
1
local
l
=
1
while
l
<=
f
and
l
<=
1
0
do
while
l
<=
f
and
l
<=
2
0
do
t
[
l
]
=
l
*
1000
t
[
l
]
=
l
*
1000
l
=
l
+
1
l
=
l
+
1
end
end
...
...
script/c32543380.lua
View file @
b9588281
...
@@ -49,7 +49,12 @@ function c32543380.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -49,7 +49,12 @@ function c32543380.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c32543380
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32543380
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsRelateToBattle
()
local
c
=
e
:
GetHandler
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
if
a
~=
c
then
d
=
a
end
return
c
:
IsRelateToBattle
()
and
c
:
IsFaceup
()
and
d
and
d
:
GetLocation
()
==
LOCATION_GRAVE
and
d
:
IsType
(
TYPE_MONSTER
)
end
end
function
c32543380
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c32543380
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c35220244.lua
View file @
b9588281
...
@@ -66,7 +66,7 @@ function c35220244.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c35220244.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c35220244
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35220244
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
(
ec
==
Duel
.
GetAttacker
()
or
ec
==
Duel
.
GetAttackTarget
())
and
ec
:
GetBattleTarget
()
return
ec
and
ec
:
GetControler
()
==
tp
and
(
ec
==
Duel
.
GetAttacker
()
or
ec
==
Duel
.
GetAttackTarget
())
and
ec
:
GetBattleTarget
()
end
end
function
c35220244
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35220244
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
local
tc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
...
...
script/c39980304.lua
View file @
b9588281
script/c71209500.lua
View file @
b9588281
...
@@ -30,7 +30,7 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
c71209500
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -42,3 +42,6 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,3 +42,6 @@ function c71209500.efop(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
end
end
function
c71209500
.
efilter
(
e
,
re
)
return
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
end
\ No newline at end of file
script/c86516889.lua
View file @
b9588281
...
@@ -6,6 +6,7 @@ function c86516889.initial_effect(c)
...
@@ -6,6 +6,7 @@ function c86516889.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
e1
:
SetTarget
(
c86516889
.
target
)
e1
:
SetTarget
(
c86516889
.
target
)
e1
:
SetOperation
(
c86516889
.
activate
)
e1
:
SetOperation
(
c86516889
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
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