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
c539b7e0
Commit
c539b7e0
authored
Jan 13, 2020
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Aiシャドー
parent
7dc4b3df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
c77421977.lua
c77421977.lua
+7
-6
No files found.
c77421977.lua
View file @
c539b7e0
...
...
@@ -11,12 +11,10 @@ function c77421977.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--atk up
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
)
e2
:
SetType
(
EFFECT_TYPE_
TARGET
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetValue
(
800
)
e2
:
SetTarget
(
aux
.
ctg
)
c
:
RegisterEffect
(
e2
)
--must attack
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -26,14 +24,14 @@ function c77421977.initial_effect(c)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetCondition
(
c77421977
.
effcon
)
c
:
RegisterEffect
(
e3
)
--
only
attack monster
--
must
attack monster
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_
ONLY
_ATTACK_MONSTER
)
e4
:
SetCode
(
EFFECT_
MUST
_ATTACK_MONSTER
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetCondition
(
c77421977
.
effcon
)
e4
:
SetValue
(
aux
.
ctg
)
e4
:
SetValue
(
c77421977
.
atklimit
)
c
:
RegisterEffect
(
e4
)
--draw
local
e5
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -72,6 +70,9 @@ end
function
c77421977
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFirstCardTarget
()
~=
nil
end
function
c77421977
.
atklimit
(
e
,
c
)
return
e
:
GetHandler
():
IsHasCardTarget
(
c
)
end
function
c77421977
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
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