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
ccea4c9f
Commit
ccea4c9f
authored
Sep 04, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f0ff033b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
c34029630.lua
c34029630.lua
+1
-11
c83269557.lua
c83269557.lua
+1
-2
No files found.
c34029630.lua
View file @
ccea4c9f
--漆黒のパワーストーン
function
c34029630
.
initial_effect
(
c
)
--counter permit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_COUNTER_PERMIT
+
0x1
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCondition
(
c34029630
.
ctpermit
)
c
:
RegisterEffect
(
e1
)
c
:
EnableCounterPermit
(
0x1
)
--Activate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_COUNTER
)
...
...
@@ -37,10 +31,6 @@ function c34029630.initial_effect(c)
e4
:
SetCondition
(
c34029630
.
descon
)
c
:
RegisterEffect
(
e4
)
end
function
c34029630
.
ctpermit
(
e
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_SZONE
)
and
not
c
:
IsStatus
(
STATUS_DISABLED
)
end
function
c34029630
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c34029630
.
filter
(
chkc
)
end
local
c
=
e
:
GetHandler
()
...
...
c83269557.lua
View file @
ccea4c9f
...
...
@@ -4,9 +4,8 @@ function c83269557.initial_effect(c)
--counter permit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_COUNTER_PERMIT
+
0x1
)
e1
:
Set
Rang
e
(
LOCATION_MZONE
)
e1
:
Set
Valu
e
(
LOCATION_MZONE
)
e1
:
SetCondition
(
aux
.
IsDualState
)
c
:
RegisterEffect
(
e1
)
--atk up
...
...
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