Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
f57fe547
Commit
f57fe547
authored
Oct 19, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
41b2adee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
script/c100423027.lua
script/c100423027.lua
+1
-1
script/c101011069.lua
script/c101011069.lua
+6
-0
No files found.
script/c100423027.lua
View file @
f57fe547
...
@@ -15,7 +15,7 @@ function c100423027.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c100423027.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c100423027
.
filter
(
c
)
function
c100423027
.
filter
(
c
)
return
c
.
synmat_syn
and
c
:
IsFaceup
()
return
(
c
.
synmat_syn
or
c
:
IsCode
(
7841112
,
24696097
,
97489701
,
67030233
,
25165047
,
21123811
,
26268488
,
35952884
,
97836203
,
62242678
,
36857073
,
89907227
,
80896940
,
51447164
,
74892653
,
89474727
,
9753964
,
2743001
,
50954680
,
84305651
))
and
c
:
IsFaceup
()
end
end
function
c100423027
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100423027
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c100423027
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
rp
==
1
-
tp
return
Duel
.
IsExistingMatchingCard
(
c100423027
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
rp
==
1
-
tp
...
...
script/c101011069.lua
View file @
f57fe547
...
@@ -26,6 +26,7 @@ function c101011069.initial_effect(c)
...
@@ -26,6 +26,7 @@ function c101011069.initial_effect(c)
e3
:
SetCode
(
EFFECT_MUST_ATTACK
)
e3
:
SetCode
(
EFFECT_MUST_ATTACK
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetCondition
(
c101011069
.
effcon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--only attack monster
--only attack monster
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -33,6 +34,7 @@ function c101011069.initial_effect(c)
...
@@ -33,6 +34,7 @@ function c101011069.initial_effect(c)
e4
:
SetCode
(
EFFECT_ONLY_ATTACK_MONSTER
)
e4
:
SetCode
(
EFFECT_ONLY_ATTACK_MONSTER
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetCondition
(
c101011069
.
effcon
)
e4
:
SetValue
(
aux
.
ctg
)
e4
:
SetValue
(
aux
.
ctg
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--draw
--draw
...
@@ -59,6 +61,7 @@ end
...
@@ -59,6 +61,7 @@ end
function
c101011069
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c101011069
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101011069
.
cfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101011069
.
cfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101011069
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101011069
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c101011069
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c101011069
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
end
function
c101011069
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101011069
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -68,6 +71,9 @@ function c101011069.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,6 +71,9 @@ function c101011069.activate(e,tp,eg,ep,ev,re,r,rp)
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
end
end
end
end
function
c101011069
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFirstCardTarget
()
~=
nil
end
function
c101011069
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101011069
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
GetPreviousControler
()
==
tp
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
GetPreviousControler
()
==
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