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
fc6a9ff0
Commit
fc6a9ff0
authored
Jan 03, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5c023b4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
c25542642.lua
c25542642.lua
+9
-5
No files found.
c25542642.lua
View file @
fc6a9ff0
...
@@ -17,7 +17,7 @@ function c25542642.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c25542642.initial_effect(c)
e2
:
SetCondition
(
c25542642
.
tgcon
)
e2
:
SetCondition
(
c25542642
.
tgcon
)
e2
:
SetOperation
(
c25542642
.
tgop
)
e2
:
SetOperation
(
c25542642
.
tgop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--cannot attack/
battle target/
disable
--cannot attack/disable
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
...
@@ -25,13 +25,17 @@ function c25542642.initial_effect(c)
...
@@ -25,13 +25,17 @@ function c25542642.initial_effect(c)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
c25542642
.
ctg
)
e3
:
SetTarget
(
c25542642
.
ctg
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e4
:
SetValue
(
aux
.
imval1
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e3
:
Clone
()
local
e5
=
e3
:
Clone
()
e5
:
SetCode
(
EFFECT_DISABLE
)
e5
:
SetCode
(
EFFECT_DISABLE
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--cannot be battle target
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e4
:
SetValue
(
c25542642
.
ctg
)
c
:
RegisterEffect
(
e4
)
--destroy
--destroy
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e6
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
...
...
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