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
wind2009
ygopro
Commits
f25dec51
Commit
f25dec51
authored
May 21, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3ae01d88
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
16 additions
and
4 deletions
+16
-4
script/c13756293.lua
script/c13756293.lua
+2
-1
script/c33655493.lua
script/c33655493.lua
+1
-0
script/c34822850.lua
script/c34822850.lua
+1
-0
script/c40583194.lua
script/c40583194.lua
+2
-1
script/c43175858.lua
script/c43175858.lua
+2
-2
script/c53550467.lua
script/c53550467.lua
+1
-0
script/c61380658.lua
script/c61380658.lua
+1
-0
script/c65025250.lua
script/c65025250.lua
+1
-0
script/c80208158.lua
script/c80208158.lua
+1
-0
script/c8102334.lua
script/c8102334.lua
+1
-0
script/c81471108.lua
script/c81471108.lua
+1
-0
script/c85909450.lua
script/c85909450.lua
+1
-0
script/c9264485.lua
script/c9264485.lua
+1
-0
No files found.
script/c13756293.lua
View file @
f25dec51
...
@@ -7,6 +7,7 @@ function c13756293.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c13756293.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
0
,
0xff
)
e1
:
SetTargetRange
(
0
,
0xff
)
e1
:
SetValue
(
c13756293
.
etarget
)
e1
:
SetValue
(
c13756293
.
etarget
)
...
@@ -28,7 +29,7 @@ end
...
@@ -28,7 +29,7 @@ end
function
c13756293
.
filter
(
c
,
e
,
tp
)
function
c13756293
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c13756293
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c13756293
.
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
and
Duel
.
IsExistingMatchingCard
(
c13756293
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c13756293
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
...
...
script/c33655493.lua
View file @
f25dec51
...
@@ -10,6 +10,7 @@ function c33655493.initial_effect(c)
...
@@ -10,6 +10,7 @@ function c33655493.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetValue
(
c33655493
.
tglimit
)
e2
:
SetValue
(
c33655493
.
tglimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c34822850.lua
View file @
f25dec51
...
@@ -34,6 +34,7 @@ function c34822850.initial_effect(c)
...
@@ -34,6 +34,7 @@ function c34822850.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e5
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e5
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e5
:
SetTargetRange
(
0
,
0xff
)
e5
:
SetTargetRange
(
0
,
0xff
)
e5
:
SetValue
(
c34822850
.
tglimit
)
e5
:
SetValue
(
c34822850
.
tglimit
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
...
...
script/c40583194.lua
View file @
f25dec51
...
@@ -21,7 +21,7 @@ function c40583194.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -21,7 +21,7 @@ function c40583194.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
end
function
c40583194
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c40583194
.
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
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
...
@@ -37,6 +37,7 @@ function c40583194.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,6 +37,7 @@ function c40583194.atkop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetOwner
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetOwner
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetTargetRange
(
0
,
0xff
)
e1
:
SetTargetRange
(
0
,
0xff
)
e1
:
SetValue
(
c40583194
.
etarget
)
e1
:
SetValue
(
c40583194
.
etarget
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
...
...
script/c43175858.lua
View file @
f25dec51
...
@@ -20,7 +20,7 @@ function c43175858.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c43175858.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e3
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_IMMEDIATELY_APPLY
)
e3
:
SetProperty
(
EFFECT_FLAG_
SET_AVAILABLE
+
EFFECT_FLAG_
IMMEDIATELY_APPLY
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
0
,
0xff
)
e3
:
SetTargetRange
(
0
,
0xff
)
e3
:
SetValue
(
c43175858
.
etarget
)
e3
:
SetValue
(
c43175858
.
etarget
)
...
@@ -49,7 +49,7 @@ function c43175858.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,7 @@ function c43175858.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
end
end
function
c43175858
.
etarget
(
e
,
re
,
c
)
function
c43175858
.
etarget
(
e
,
re
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsType
(
TYPE_TOON
)
return
c
:
IsFaceup
()
and
c
:
Is
Controler
(
e
:
GetHandlerPlayer
())
and
c
:
Is
Location
(
LOCATION_MZONE
)
and
c
:
IsType
(
TYPE_TOON
)
end
end
function
c43175858
.
repfilter
(
c
,
tp
)
function
c43175858
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
...
...
script/c53550467.lua
View file @
f25dec51
...
@@ -15,6 +15,7 @@ function c53550467.initial_effect(c)
...
@@ -15,6 +15,7 @@ function c53550467.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetCondition
(
c53550467
.
con
)
e2
:
SetCondition
(
c53550467
.
con
)
e2
:
SetValue
(
c53550467
.
tglimit
)
e2
:
SetValue
(
c53550467
.
tglimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c61380658.lua
View file @
f25dec51
...
@@ -10,6 +10,7 @@ function c61380658.initial_effect(c)
...
@@ -10,6 +10,7 @@ function c61380658.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetValue
(
c61380658
.
tglimit
)
e2
:
SetValue
(
c61380658
.
tglimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c65025250.lua
View file @
f25dec51
...
@@ -29,6 +29,7 @@ function c65025250.initial_effect(c)
...
@@ -29,6 +29,7 @@ function c65025250.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e4
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
0xff
)
e4
:
SetTargetRange
(
0
,
0xff
)
e4
:
SetValue
(
c65025250
.
tgtg
)
e4
:
SetValue
(
c65025250
.
tgtg
)
...
...
script/c80208158.lua
View file @
f25dec51
...
@@ -11,6 +11,7 @@ function c80208158.initial_effect(c)
...
@@ -11,6 +11,7 @@ function c80208158.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetValue
(
c80208158
.
tglimit
)
e2
:
SetValue
(
c80208158
.
tglimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c8102334.lua
View file @
f25dec51
...
@@ -29,6 +29,7 @@ function c8102334.initial_effect(c)
...
@@ -29,6 +29,7 @@ function c8102334.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
0xff
)
e4
:
SetTargetRange
(
0
,
0xff
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e4
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e4
:
SetValue
(
c8102334
.
tglimit
)
e4
:
SetValue
(
c8102334
.
tglimit
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
...
script/c81471108.lua
View file @
f25dec51
...
@@ -16,6 +16,7 @@ function c81471108.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c81471108.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetTargetRange
(
0
,
0xff
)
e2
:
SetCondition
(
c81471108
.
tgcon
)
e2
:
SetCondition
(
c81471108
.
tgcon
)
...
...
script/c85909450.lua
View file @
f25dec51
...
@@ -20,6 +20,7 @@ function c85909450.initial_effect(c)
...
@@ -20,6 +20,7 @@ function c85909450.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e3
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetTargetRange
(
0
,
0xff
)
e3
:
SetTargetRange
(
0
,
0xff
)
e3
:
SetValue
(
c85909450
.
tglimit
)
e3
:
SetValue
(
c85909450
.
tglimit
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
...
script/c9264485.lua
View file @
f25dec51
...
@@ -4,6 +4,7 @@ function c9264485.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c9264485.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_SELECT_EFFECT_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
0
,
0xff
)
e1
:
SetTargetRange
(
0
,
0xff
)
e1
:
SetValue
(
c9264485
.
etarget
)
e1
:
SetValue
(
c9264485
.
etarget
)
...
...
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