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
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
Commits
345e4d67
Commit
345e4d67
authored
Dec 19, 2014
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c57933cb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
9 deletions
+11
-9
script/c19139516.lua
script/c19139516.lua
+1
-1
script/c23571046.lua
script/c23571046.lua
+1
-0
script/c36736723.lua
script/c36736723.lua
+1
-1
script/c47075569.lua
script/c47075569.lua
+6
-5
script/c64373401.lua
script/c64373401.lua
+1
-1
script/c69327790.lua
script/c69327790.lua
+1
-1
No files found.
script/c19139516.lua
View file @
345e4d67
...
@@ -23,7 +23,7 @@ function c19139516.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c19139516.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_D
ELAY
)
e3
:
SetCondition
(
c19139516
.
thcon
)
e3
:
SetCondition
(
c19139516
.
thcon
)
e3
:
SetTarget
(
c19139516
.
thtg
)
e3
:
SetTarget
(
c19139516
.
thtg
)
e3
:
SetOperation
(
c19139516
.
thop
)
e3
:
SetOperation
(
c19139516
.
thop
)
...
...
script/c23571046.lua
View file @
345e4d67
...
@@ -23,6 +23,7 @@ function c23571046.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,6 +23,7 @@ function c23571046.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c23571046
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23571046
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
c23571046
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c36736723.lua
View file @
345e4d67
...
@@ -51,7 +51,7 @@ function c36736723.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,7 +51,7 @@ function c36736723.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c36736723
.
filter
(
c
)
function
c36736723
.
filter
(
c
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x17
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
end
function
c36736723
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c36736723
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c36736723
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c36736723
.
filter
(
chkc
)
end
...
...
script/c47075569.lua
View file @
345e4d67
...
@@ -68,15 +68,16 @@ function c47075569.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,15 +68,16 @@ function c47075569.thop(e,tp,eg,ep,ev,re,r,rp)
local
dg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
dg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
ct
=
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
local
ct
=
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
local
g
=
Duel
.
GetMatchingGroup
(
c47075569
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c47075569
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
ct
==
0
or
g
:
GetCount
()
==
0
then
return
end
if
ct
>
g
:
GetClassCount
(
Card
.
GetCode
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
ct
==
2
then
if
ct
==
2
then
g
:
Remove
(
Card
.
IsCode
,
nil
,
g1
:
GetFirst
():
GetCode
())
g
:
Remove
(
Card
.
IsCode
,
nil
,
g1
:
GetFirst
():
GetCode
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
if
g
:
GetCount
()
>
0
then
local
g2
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
g1
:
Merge
(
g2
)
local
g2
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
end
end
end
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
...
...
script/c64373401.lua
View file @
345e4d67
...
@@ -4,7 +4,7 @@ function c64373401.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c64373401.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_SPSUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c64373401
.
hspcon
)
e1
:
SetCondition
(
c64373401
.
hspcon
)
e1
:
SetOperation
(
c64373401
.
hspop
)
e1
:
SetOperation
(
c64373401
.
hspop
)
...
...
script/c69327790.lua
View file @
345e4d67
...
@@ -71,7 +71,7 @@ function c69327790.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function c69327790.tdop(e,tp,eg,ep,ev,re,r,rp)
local
ex
,
g1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TODECK
)
local
ex
,
g1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TODECK
)
local
ex
,
g2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TOHAND
)
local
ex
,
g2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TOHAND
)
local
sg1
=
g1
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
sg1
=
g1
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
sg1
:
GetCount
()
>
0
and
Duel
.
SendtoDeck
(
sg1
,
nil
,
0
,
REASON_EFFECT
)
~=
0
then
if
sg1
:
GetCount
()
>
0
and
Duel
.
SendtoDeck
(
sg1
,
nil
,
0
,
REASON_EFFECT
)
>
1
then
local
tc1
=
sg1
:
GetFirst
()
local
tc1
=
sg1
:
GetFirst
()
local
tc2
=
sg1
:
GetNext
()
local
tc2
=
sg1
:
GetNext
()
if
tc1
:
GetControler
()
==
tc2
:
GetControler
()
and
tc1
:
IsLocation
(
LOCATION_DECK
)
and
tc2
:
IsLocation
(
LOCATION_DECK
)
then
if
tc1
:
GetControler
()
==
tc2
:
GetControler
()
and
tc1
:
IsLocation
(
LOCATION_DECK
)
and
tc2
:
IsLocation
(
LOCATION_DECK
)
then
...
...
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