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
b0b28ce7
Commit
b0b28ce7
authored
Jul 27, 2019
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix マシュマロンのメガネ
parent
be856fc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
c66865880.lua
c66865880.lua
+10
-2
No files found.
c66865880.lua
View file @
b0b28ce7
...
@@ -8,12 +8,20 @@ function c66865880.initial_effect(c)
...
@@ -8,12 +8,20 @@ function c66865880.initial_effect(c)
--
--
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_
ONLY_ATTACK_MONSTER
)
e2
:
SetCode
(
EFFECT_
CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c66865880
.
con
)
e2
:
SetCondition
(
c66865880
.
con
)
e2
:
SetValue
(
c66865880
.
atlimit
)
e2
:
SetValue
(
c66865880
.
atlimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_DIRECT_ATTACK
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetCondition
(
c66865880
.
con
)
c
:
RegisterEffect
(
e3
)
end
end
function
c66865880
.
cfilter
(
c
)
function
c66865880
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
31305911
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
31305911
)
...
@@ -22,5 +30,5 @@ function c66865880.con(e)
...
@@ -22,5 +30,5 @@ function c66865880.con(e)
return
Duel
.
IsExistingMatchingCard
(
c66865880
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c66865880
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c66865880
.
atlimit
(
e
,
c
)
function
c66865880
.
atlimit
(
e
,
c
)
return
c
:
IsFace
up
()
and
c
:
IsCode
(
31305911
)
return
c
:
IsFace
down
()
or
not
c
:
IsCode
(
31305911
)
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