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
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-scripts
Commits
a32e9bbc
Commit
a32e9bbc
authored
Jul 20, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert
part of
00ab9df6
.
parent
bb86089c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
c18096222.lua
c18096222.lua
+6
-3
c21790410.lua
c21790410.lua
+2
-2
c38450736.lua
c38450736.lua
+2
-2
c68184115.lua
c68184115.lua
+2
-2
No files found.
c18096222.lua
View file @
a32e9bbc
...
@@ -17,7 +17,7 @@ function c18096222.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c18096222.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
18096222
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
18096222
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_
TO_GRAVE
)
e2
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e2
:
SetCondition
(
c18096222
.
dacon
)
e2
:
SetCondition
(
c18096222
.
dacon
)
e2
:
SetTarget
(
c18096222
.
datg
)
e2
:
SetTarget
(
c18096222
.
datg
)
e2
:
SetOperation
(
c18096222
.
daop
)
e2
:
SetOperation
(
c18096222
.
daop
)
...
@@ -91,8 +91,11 @@ function c18096222.eqlimit(e,c)
...
@@ -91,8 +91,11 @@ function c18096222.eqlimit(e,c)
end
end
function
c18096222
.
dacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18096222
.
dacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetPreviousEquipTarget
()
local
ec
=
c
:
GetEquipTarget
()
return
c
:
IsReason
(
REASON_DESTROY
)
and
ec
~=
nil
if
c
:
IsReason
(
REASON_LOST_TARGET
)
then
ec
=
c
:
GetPreviousEquipTarget
()
end
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
ec
~=
nil
end
end
function
c18096222
.
dafilter
(
c
)
function
c18096222
.
dafilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
and
not
c
:
IsDualState
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
and
not
c
:
IsDualState
()
...
...
c21790410.lua
View file @
a32e9bbc
...
@@ -21,7 +21,7 @@ function c21790410.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c21790410.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
21790410
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
21790410
,
1
))
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c21790410
.
shcon
)
e3
:
SetCondition
(
c21790410
.
shcon
)
...
@@ -59,7 +59,7 @@ function c21790410.eqlimit(e,c)
...
@@ -59,7 +59,7 @@ function c21790410.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
end
end
function
c21790410
.
cfilter
(
c
,
ec
,
tp
)
function
c21790410
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
Is
Controler
(
tp
)
and
c
:
GetPrevious
EquipTarget
()
==
ec
return
c
:
Is
Location
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
Get
EquipTarget
()
==
ec
end
end
function
c21790410
.
shcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21790410
.
shcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c21790410
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
return
eg
:
IsExists
(
c21790410
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
c38450736.lua
View file @
a32e9bbc
...
@@ -26,7 +26,7 @@ function c38450736.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c38450736.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
38450736
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
38450736
,
1
))
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetCondition
(
c38450736
.
atkcon
)
e3
:
SetCondition
(
c38450736
.
atkcon
)
e3
:
SetTarget
(
c38450736
.
atktg
)
e3
:
SetTarget
(
c38450736
.
atktg
)
e3
:
SetOperation
(
c38450736
.
atkop
)
e3
:
SetOperation
(
c38450736
.
atkop
)
...
@@ -63,7 +63,7 @@ function c38450736.eqlimit(e,c)
...
@@ -63,7 +63,7 @@ function c38450736.eqlimit(e,c)
end
end
function
c38450736
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c38450736
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
Get
Previous
EquipTarget
()
local
ec
=
c
:
GetEquipTarget
()
e
:
SetLabelObject
(
ec
)
e
:
SetLabelObject
(
ec
)
return
ec
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
ec
:
IsFaceup
()
and
ec
:
IsLocation
(
LOCATION_MZONE
)
return
ec
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
ec
:
IsFaceup
()
and
ec
:
IsLocation
(
LOCATION_MZONE
)
end
end
...
...
c68184115.lua
View file @
a32e9bbc
...
@@ -21,7 +21,7 @@ function c68184115.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c68184115.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
68184115
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
68184115
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c68184115
.
spcon
)
e3
:
SetCondition
(
c68184115
.
spcon
)
...
@@ -59,7 +59,7 @@ function c68184115.eqlimit(e,c)
...
@@ -59,7 +59,7 @@ function c68184115.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
end
end
function
c68184115
.
cfilter
(
c
,
ec
,
tp
)
function
c68184115
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
Is
Controler
(
tp
)
and
c
:
GetPrevious
EquipTarget
()
==
ec
return
c
:
Is
Location
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
Get
EquipTarget
()
==
ec
end
end
function
c68184115
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68184115
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c68184115
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
return
eg
:
IsExists
(
c68184115
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
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