Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
00ab9df6
Commit
00ab9df6
authored
Jun 30, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
30add956
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
13 deletions
+14
-13
c18096222.lua
c18096222.lua
+3
-6
c21790410.lua
c21790410.lua
+2
-2
c27877771.lua
c27877771.lua
+1
-0
c34959756.lua
c34959756.lua
+1
-1
c35952884.lua
c35952884.lua
+1
-0
c38450736.lua
c38450736.lua
+2
-2
c63053267.lua
c63053267.lua
+1
-0
c68184115.lua
c68184115.lua
+2
-2
c9547962.lua
c9547962.lua
+1
-0
No files found.
c18096222.lua
View file @
00ab9df6
...
...
@@ -17,7 +17,7 @@ function c18096222.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
18096222
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e2
:
SetCode
(
EVENT_
TO_GRAVE
)
e2
:
SetCondition
(
c18096222
.
dacon
)
e2
:
SetTarget
(
c18096222
.
datg
)
e2
:
SetOperation
(
c18096222
.
daop
)
...
...
@@ -91,11 +91,8 @@ function c18096222.eqlimit(e,c)
end
function
c18096222
.
dacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
if
c
:
IsReason
(
REASON_LOST_TARGET
)
then
ec
=
c
:
GetPreviousEquipTarget
()
end
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
ec
~=
nil
local
ec
=
c
:
GetPreviousEquipTarget
()
return
c
:
IsReason
(
REASON_DESTROY
)
and
ec
~=
nil
end
function
c18096222
.
dafilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
and
not
c
:
IsDualState
()
...
...
c21790410.lua
View file @
00ab9df6
...
...
@@ -21,7 +21,7 @@ function c21790410.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
21790410
,
1
))
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c21790410
.
shcon
)
...
...
@@ -59,7 +59,7 @@ function c21790410.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
end
function
c21790410
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
Is
Location
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
Get
EquipTarget
()
==
ec
return
c
:
Is
Controler
(
tp
)
and
c
:
GetPrevious
EquipTarget
()
==
ec
end
function
c21790410
.
shcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c21790410
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
c27877771.lua
View file @
00ab9df6
...
...
@@ -26,5 +26,6 @@ function c27877771.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c27877771
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
tc
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c34959756.lua
View file @
00ab9df6
...
...
@@ -72,7 +72,7 @@ function c34959756.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c34959756
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
local
tc
=
e
:
GetHandler
():
GetEquip
Previous
Target
()
if
tc
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
c35952884.lua
View file @
00ab9df6
...
...
@@ -96,6 +96,7 @@ function c35952884.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c35952884
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
then
return
end
local
tg
=
Duel
.
GetFirstMatchingCard
(
c35952884
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
if
tg
then
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
...
...
c38450736.lua
View file @
00ab9df6
...
...
@@ -26,7 +26,7 @@ function c38450736.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
38450736
,
1
))
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetCondition
(
c38450736
.
atkcon
)
e3
:
SetTarget
(
c38450736
.
atktg
)
e3
:
SetOperation
(
c38450736
.
atkop
)
...
...
@@ -63,7 +63,7 @@ function c38450736.eqlimit(e,c)
end
function
c38450736
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
ec
=
c
:
Get
Previous
EquipTarget
()
e
:
SetLabelObject
(
ec
)
return
ec
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
ec
:
IsFaceup
()
and
ec
:
IsLocation
(
LOCATION_MZONE
)
end
...
...
c63053267.lua
View file @
00ab9df6
...
...
@@ -68,5 +68,6 @@ function c63053267.thop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c63053267
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
tc
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c68184115.lua
View file @
00ab9df6
...
...
@@ -21,7 +21,7 @@ function c68184115.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
68184115
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c68184115
.
spcon
)
...
...
@@ -59,7 +59,7 @@ function c68184115.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
end
function
c68184115
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
Is
Location
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
Get
EquipTarget
()
==
ec
return
c
:
Is
Controler
(
tp
)
and
c
:
GetPrevious
EquipTarget
()
==
ec
end
function
c68184115
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c68184115
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
c9547962.lua
View file @
00ab9df6
...
...
@@ -82,5 +82,6 @@ function c9547962.thop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c9547962
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
tc
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
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