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
cafcf9ec
Commit
cafcf9ec
authored
Jul 22, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4604c36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
c66765023.lua
c66765023.lua
+4
-0
No files found.
c66765023.lua
View file @
cafcf9ec
...
@@ -7,6 +7,7 @@ function c66765023.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c66765023.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c66765023
.
indcon
)
e1
:
SetValue
(
c66765023
.
valcon
)
e1
:
SetValue
(
c66765023
.
valcon
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--add win effect
--add win effect
...
@@ -19,6 +20,9 @@ function c66765023.initial_effect(c)
...
@@ -19,6 +20,9 @@ function c66765023.initial_effect(c)
e2
:
SetOperation
(
c66765023
.
effop
)
e2
:
SetOperation
(
c66765023
.
effop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c66765023
.
indcon
(
e
)
return
Duel
.
GetTurnPlayer
()
~=
e
:
GetHandlerPlayer
()
end
function
c66765023
.
valcon
(
e
,
re
,
r
,
rp
)
function
c66765023
.
valcon
(
e
,
re
,
r
,
rp
)
local
res
=
false
local
res
=
false
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
rp
==
1
-
e
:
GetHandlerPlayer
()
then
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
rp
==
1
-
e
:
GetHandlerPlayer
()
then
...
...
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