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
Reinen
ygopro-scripts
Commits
f1aa57a9
Commit
f1aa57a9
authored
Jan 20, 2020
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix attack limit of サイバース・ウィザード
it's clearly not a must attack effect
parent
5237be37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
c36033786.lua
c36033786.lua
+7
-4
No files found.
c36033786.lua
View file @
f1aa57a9
...
...
@@ -29,12 +29,15 @@ function c36033786.posop(e,tp,eg,ep,ev,re,r,rp)
local
fid
=
tc
:
GetRealFieldID
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_
MUST_ATTACK_MONSTER
)
e1
:
SetCode
(
EFFECT_
CANNOT_DIRECT_ATTACK
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetValue
(
c36033786
.
atklimit
)
e1
:
SetLabel
(
fid
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetValue
(
c36033786
.
atklimit
)
e2
:
SetLabel
(
fid
)
Duel
.
RegisterEffect
(
e2
,
tp
)
--pierce
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -46,5 +49,5 @@ function c36033786.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c36033786
.
atklimit
(
e
,
c
)
return
c
:
GetRealFieldID
()
=
=
e
:
GetLabel
()
return
c
:
GetRealFieldID
()
~
=
e
:
GetLabel
()
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