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
fbc740f2
Commit
fbc740f2
authored
Apr 23, 2018
by
Koishi_Mint
Committed by
nanahira
Apr 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Neglect target for field activation (#1026)
parent
f9c165de
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
11 deletions
+12
-11
c15248873.lua
c15248873.lua
+1
-1
c19089195.lua
c19089195.lua
+1
-1
c22900598.lua
c22900598.lua
+1
-1
c32912040.lua
c32912040.lua
+1
-1
c48934760.lua
c48934760.lua
+1
-1
c61818176.lua
c61818176.lua
+2
-1
c69529337.lua
c69529337.lua
+1
-1
c72332074.lua
c72332074.lua
+1
-1
c89208725.lua
c89208725.lua
+1
-1
c95923441.lua
c95923441.lua
+1
-1
c97970833.lua
c97970833.lua
+1
-1
No files found.
c15248873.lua
View file @
fbc740f2
...
@@ -14,7 +14,7 @@ function c15248873.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -14,7 +14,7 @@ function c15248873.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
==
nil
and
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
5
)
~=
nil
return
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
==
nil
and
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
5
)
~=
nil
end
end
function
c15248873
.
filter
(
c
,
tp
)
function
c15248873
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c15248873
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c15248873
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c15248873
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c15248873
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
c19089195.lua
View file @
fbc740f2
...
@@ -29,7 +29,7 @@ function c19089195.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c19089195.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c19089195
.
filter
(
c
,
tp
)
function
c19089195
.
filter
(
c
,
tp
)
return
c
:
IsCode
(
22702055
)
and
c
:
GetActivateEffect
()
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
)
return
c
:
IsCode
(
22702055
)
and
c
:
GetActivateEffect
()
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c19089195
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19089195
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
...
...
c22900598.lua
View file @
fbc740f2
...
@@ -17,7 +17,7 @@ function c22900598.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c22900598.condition(e,tp,eg,ep,ev,re,r,rp)
return
g
:
GetCount
()
>
0
and
g
:
FilterCount
(
Card
.
IsRace
,
nil
,
RACE_ZOMBIE
)
==
g
:
GetCount
()
return
g
:
GetCount
()
>
0
and
g
:
FilterCount
(
Card
.
IsRace
,
nil
,
RACE_ZOMBIE
)
==
g
:
GetCount
()
end
end
function
c22900598
.
filter
(
c
,
tp
)
function
c22900598
.
filter
(
c
,
tp
)
return
c
:
IsCode
(
62188962
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
return
c
:
IsCode
(
62188962
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c22900598
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22900598
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22900598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22900598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
c32912040.lua
View file @
fbc740f2
...
@@ -51,7 +51,7 @@ function c32912040.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c32912040.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c32912040
.
filter
(
c
,
tp
,
code
)
function
c32912040
.
filter
(
c
,
tp
,
code
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0xe2
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
and
not
c
:
IsCode
(
code
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0xe2
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
and
not
c
:
IsCode
(
code
)
end
end
function
c32912040
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32912040
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
...
...
c48934760.lua
View file @
fbc740f2
...
@@ -16,7 +16,7 @@ function c48934760.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -16,7 +16,7 @@ function c48934760.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c48934760
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c48934760
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
c48934760
.
filter
(
c
,
tp
)
function
c48934760
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c48934760
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c48934760
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c48934760
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c48934760
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
c61818176.lua
View file @
fbc740f2
...
@@ -31,7 +31,7 @@ function c61818176.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -31,7 +31,7 @@ function c61818176.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
tc
,
1
,
0
,
0
)
end
end
function
c61818176
.
actfilter
(
c
,
tp
)
function
c61818176
.
actfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c61818176
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61818176
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
@@ -44,6 +44,7 @@ function c61818176.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,6 +44,7 @@ function c61818176.activate(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
Duel
.
MoveToField
(
sc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
sc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
local
te
=
sc
:
GetActivateEffect
()
local
te
=
sc
:
GetActivateEffect
()
te
:
UseCountLimit
(
tp
,
1
,
true
)
local
tep
=
sc
:
GetControler
()
local
tep
=
sc
:
GetControler
()
local
cost
=
te
:
GetCost
()
local
cost
=
te
:
GetCost
()
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
...
...
c69529337.lua
View file @
fbc740f2
...
@@ -60,7 +60,7 @@ function c69529337.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c69529337.tdop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c69529337
.
filter
(
c
,
tp
,
code
)
function
c69529337
.
filter
(
c
,
tp
,
code
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0xe2
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
and
not
c
:
IsCode
(
code
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0xe2
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
and
not
c
:
IsCode
(
code
)
end
end
function
c69529337
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69529337
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
...
...
c72332074.lua
View file @
fbc740f2
...
@@ -63,7 +63,7 @@ function c72332074.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -63,7 +63,7 @@ function c72332074.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c72332074
.
actfilter
(
c
,
tp
)
function
c72332074
.
actfilter
(
c
,
tp
)
return
c
:
IsCode
(
10424147
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
return
c
:
IsCode
(
10424147
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c72332074
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72332074
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72332074
.
actfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72332074
.
actfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
c89208725.lua
View file @
fbc740f2
...
@@ -10,7 +10,7 @@ function c89208725.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c89208725.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c89208725
.
filter
(
c
,
tp
)
function
c89208725
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
(
c
:
IsAbleToHand
()
or
c
:
GetActivateEffect
():
IsActivatable
(
tp
))
return
c
:
IsType
(
TYPE_FIELD
)
and
(
c
:
IsAbleToHand
()
or
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
))
end
end
function
c89208725
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c89208725
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c89208725
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c89208725
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
c95923441.lua
View file @
fbc740f2
...
@@ -29,7 +29,7 @@ function c95923441.sumcon(e)
...
@@ -29,7 +29,7 @@ function c95923441.sumcon(e)
return
tc
and
tc
:
IsFaceup
()
return
tc
and
tc
:
IsFaceup
()
end
end
function
c95923441
.
filter
(
c
,
tp
,
code
)
function
c95923441
.
filter
(
c
,
tp
,
code
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0xe2
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
and
not
c
:
IsCode
(
code
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0xe2
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
and
not
c
:
IsCode
(
code
)
end
end
function
c95923441
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95923441
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
...
...
c97970833.lua
View file @
fbc740f2
...
@@ -14,7 +14,7 @@ function c97970833.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -14,7 +14,7 @@ function c97970833.condition(e,tp,eg,ep,ev,re,r,rp)
return
tp
~=
Duel
.
GetTurnPlayer
()
return
tp
~=
Duel
.
GetTurnPlayer
()
end
end
function
c97970833
.
filter
(
c
,
tp
)
function
c97970833
.
filter
(
c
,
tp
)
return
c
:
IsCode
(
34487429
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
)
return
c
:
IsCode
(
34487429
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
c97970833
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c97970833
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97970833
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97970833
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
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