Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
39a5bb81
Commit
39a5bb81
authored
Sep 25, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seiryu
parent
08c9f049
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
expansions/script/c33700082.lua
expansions/script/c33700082.lua
+4
-7
No files found.
expansions/script/c33700082.lua
View file @
39a5bb81
...
@@ -26,7 +26,6 @@ function c33700082.initial_effect(c)
...
@@ -26,7 +26,6 @@ function c33700082.initial_effect(c)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c33700082
.
indcon
)
e2
:
SetTarget
(
c33700082
.
indtg
)
e2
:
SetTarget
(
c33700082
.
indtg
)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -35,17 +34,15 @@ function c33700082.initial_effect(c)
...
@@ -35,17 +34,15 @@ function c33700082.initial_effect(c)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c33700082
.
indcon
)
e3
:
SetTarget
(
c33700082
.
indtg
)
e3
:
SetTarget
(
c33700082
.
indtg
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c33700082
.
indcon
(
e
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_ONFIELD
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
<
g
:
GetCount
()
end
function
c33700082
.
indtg
(
e
,
c
)
function
c33700082
.
indtg
(
e
,
c
)
return
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_ONFIELD
,
nil
)
local
ct1
=
g
:
GetClassCount
(
Card
.
GetCode
)
local
ct2
=
g
:
GetCount
()
return
ct1
<
ct2
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
end
end
function
c33700082
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33700082
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
hg
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
local
hg
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
...
...
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